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 527ba5c commit f5b29b9Copy full SHA for f5b29b9
1 file changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java
@@ -524,9 +524,7 @@ public void processOpts() {
524
if (isUseSpringBoot4()) {
525
setUseSpringBoot3(false);
526
}
527
- if(isUseSpringBoot3() && isUseSpringBoot4()){
528
- throw new IllegalArgumentException("Choose between Spring Boot 3 and Spring Boot 4");
529
- }
+
530
if (isUseSpringBoot3() || isUseSpringBoot4()) {
531
if (AnnotationLibrary.SWAGGER1.equals(getAnnotationLibrary())) {
532
throw new IllegalArgumentException(AnnotationLibrary.SWAGGER1.getPropertyName() + " is not supported with Spring Boot > 3.x");
0 commit comments