We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5238597 commit 8ff1acaCopy full SHA for 8ff1aca
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java
@@ -305,9 +305,8 @@ public void processOpts() {
305
306
if (additionalProperties.containsKey(UNHANDLED_EXCEPTION_HANDLING)) {
307
this.setUnhandledException(Boolean.valueOf(additionalProperties.get(UNHANDLED_EXCEPTION_HANDLING).toString()));
308
- } else {
309
- additionalProperties.put(UNHANDLED_EXCEPTION_HANDLING, this.isUnhandledException());
310
}
+ additionalProperties.put(UNHANDLED_EXCEPTION_HANDLING, this.isUnhandledException());
311
312
typeMapping.put("file", "Resource");
313
importMapping.put("Resource", "org.springframework.core.io.Resource");
0 commit comments