Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][Java] Cannot turn off swagger annotations. -> swaggerAnnotations: false doesn't work. #11555

Open
aidensgithub opened this issue Feb 9, 2022 · 1 comment

Comments

@aidensgithub
Copy link

I am using the following parameters in a gradle task:
configOptions = [ dateLibrary: "java8", annotationsLibrary: "none" ]
additionalProperties = [ swaggerAnnotations: false, ]
None of the assigned parameters doesn't turn off the annotations by swagger using JAVA generator.
Applied OPEN-GENERATOR Gradle plugin as following:
plugins { id "org.openapi.generator" version "5.4.0" }
Also referring to the previous cases and "solutions".
_This PR doesn't disable all usages of swagger-annotations in 'java' generator templates, opened a more complete one

Originally posted by @baurchanu in #8801 (comment)_

@cachescrubber
Copy link
Contributor

Implemented in #12422.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants