mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-06 15:40:54 +00:00
fix string comparison in scala sttp client (#13235)
This commit is contained in:
parent
640010ad38
commit
344d6b19b2
@ -115,7 +115,7 @@ public class ScalaSttpClientCodegen extends AbstractScalaCodegen implements Code
|
||||
|
||||
String jsonLibrary = JSON_LIBRARY_PROPERTY.getValue(additionalProperties);
|
||||
|
||||
String jsonValueClass = jsonLibrary == "circe" ? "io.circe.Json" : "org.json4s.JValue";
|
||||
String jsonValueClass = "circe".equals(jsonLibrary) ? "io.circe.Json" : "org.json4s.JValue";
|
||||
|
||||
additionalProperties.put(CodegenConstants.GROUP_ID, groupId);
|
||||
additionalProperties.put(CodegenConstants.ARTIFACT_ID, artifactId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user