-
Notifications
You must be signed in to change notification settings - Fork 453
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
Swagger Version 2.0.X annotations are not supported #655
Comments
I just saw that the current swagger-maven-plugin is built on swagger 1.5.18. Are there any plans to support the latest swagger 2.0.x ? |
Yeah, this would be great to have for us as well! :) |
Hello, According to the description
Update: I have tried right now and it works, I can then display the json in the swagger-ui as well, I am using <groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>2.0.6</version> |
Small remark, please note that <groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.7</version> This plugin is not the one implemented along with the swagger version 2.0.X, check please the |
@blackat |
@devutkarsh It doesn't look like OpenAPI |
Is there any alternative? since we upgraded our swagger deps, the specs generated are now not working anymore. Operations missing.... |
After experimenting, I found swagger-maven-plugin this plugin is useful as of now as a replacement. I hope this helps. |
If you're looking for OpenAPI 3.x support, see: #550 (comment) |
I am using the following versions of swagger and swagger-maven-plugin. You can see below my configuration and the swagger.json file. It is clearly missing many of the fields defined in the annotation.
Is it possible that the current version of the maven plugin does not support Version 2?
Is there any plans to support them in the future?
swagger-maven-plugin 3.1.7
swagger-core 2.0.2
pom.xml
Resource class
swagger.json
The text was updated successfully, but these errors were encountered: