[BUG][JAVA] swaggerDocketConfig not working as expected
Created by: Blubb324
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output?
Description
In the current version I have seen following behaviour. If I´m setting <swaggerDocketConfig>false</swaggerDocketConfig>
to false, the class OpenAPIDocumentationConfig.java
with Docket (springfox) is still generated.
For me it looks like there are some impacts to other properties.
Expected behaviour
Don´t generate OpenAPIDocumentationConfig.java
if property is set to false.
config-snipped from pom.xml:
<configuration>
<inputSpec>src/main/resources/schema/my.yaml</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<configOptions>
<delegatePattern>true</delegatePattern>
<swaggerDocketConfig>false</swaggerDocketConfig>
</configOptions>
</configuration>
openapi-generator version
5.2.1