Skip to content

Commit b0dfcf2

Browse files
raghuraman1wing328
authored andcommitted
JAVA Spring <async>false</async> Pushing the improved fix (#1179)
* Pushing the improved fix * reverting the unrelated change * saving the revertal properly
1 parent 9939702 commit b0dfcf2

File tree

1 file changed

+2
-0
lines changed
  • modules/openapi-generator/src/main/java/org/openapitools/codegen/languages

1 file changed

+2
-0
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ public void processOpts() {
221221

222222
if (additionalProperties.containsKey(ASYNC)) {
223223
this.setAsync(Boolean.valueOf(additionalProperties.get(ASYNC).toString()));
224+
//fix for issue/1164
225+
convertPropertyToBooleanAndWriteBack(ASYNC);
224226
}
225227

226228
if (additionalProperties.containsKey(REACTIVE)) {

0 commit comments

Comments
 (0)