-
-
Notifications
You must be signed in to change notification settings - Fork 524
Should this library start defaulting to OpenAPI 3.1? #2765
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
Comments
For now, 3.0 is the most widely used in the market, and changing it from the default, might cause a lot of inconvenience. |
@bnasslahsen
Could you please talk about this again in your team? :) My context: OpenAPI 3.0 only allows "nullability" to be defined at the schema level, not at the context of use. This restriction means that if |
@bnasslahsen @edudar @ross-paypay WDYT? :) |
There aren't many votes for the enhancement request. As mentioned earlier, version 3.0 is the most widely used in the market, and changing the default behavior would likely cause disruption for users. Those in the minority (right now) who prefer version 3.1 should configure the property to enable it. |
Hi!
where can community vote? (this issue was closed day after submitting :D) |
@bnasslahsen NICE! :) |
Currently
springdoc.api-docs.version
defaults to 3.0, but 3.1 has been released multiple years ago.This can be changed pretty easily by changing the config like:
I am thinking that perhaps its time to start defaulting to 3.1?
I suppose this would be a breaking change and would require a major semver bump.
The text was updated successfully, but these errors were encountered: