-
Notifications
You must be signed in to change notification settings - Fork 83
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
Evaluate OpenAPI 3.1 for changes (to update this spec) #333
Comments
Do we know if I would tend to think that we should support only one version of OpenAPI (the latest — once it is released of course), but of course if they bring changes that results in Java-API Breaking changes, then this idea might not work well. |
This is still on my to-do list but I haven't had a chance to tackle it yet. I agree with you though that we should try to support only one version of OpenAPI. |
So here is a summary of the changes in 3.1 vs. 3.0.2:
There are indications in the OpenAPI spec that a version 3.0.3 will be released before 3.1.0 is released. But I'm just guessing based on the text of the specification found on the https://github.com/OAI/OpenAPI-Specification/tree/v3.1.0-dev/versions |
I did not found this issue this morning an created a duplicate: #431 (now closed). The first 3.1.0 version ( Released (
So the "SNAPSHOT" version of the 3.1.0 specification documentation is on this branch: I have created a new label to mark all the issues required to be compatible with OpenAPI 3.1.0 (See the OAS 3.1.0 label). We need to decide for a strategy regarding the adoption of this spec update for Microprofile-OpenAPI. If I remember well, we decided a long time ago that Microprofile-OpenAPI does not want to support multiple OpenAPI versions. If we decide to use the We can also decide to store all changes required by OpenAPI 3.1.0 on a specific branch. I would like to start working on this, as the release candidate phase of OpenAPI release might be a good timing to provide feedback to the spec team. |
I think it makes sense for MP Open API 2.0 to support OAS 3.1 @msmiths @EricWittmann @phillip-kruger @MikeEdgar |
@arthurdm - I agree, but is there enough time? Also, given how new 3.1 is, do we need to consider the downstream tooling support for 3.1 and provide configuration to keep 3.0.x output? It may not be necessary, but I want to raise the question. |
@arthurdm I agree with @MikeEdgar that time could an issue. 3.1.0 is only at RC0 at the moment, so it could delay getting MP OpenAPI 2.0 released. |
good point. I guess MP OpenAPI 2.1 could be an option to support OAS 3.1.0 in the future. |
According to the release notes of OAS Anyway doing a release of MP OpenAPI soon for OAS 3.0.x and postponing OAS 3.1.0 support to an other release is fine for me as long as we can have a place to start to work on OAS 3.1.0 (I would prefer a branch here, if this is not possible I will do it on my fork). |
+1 Would be great to have |
…arget Require a name match for annotations on a method
@MikeEdgar Having evaluated the changes required, I think we can close this issue? |
@Azquelt, I agree. Closing now. |
In a couple of months, the OpenAPI spec should be releasing version 3.1. We should evaluate that release and figure out what changes we might need to make to this spec to support it. Also should we support multiple versions of the OpenAPI spec or only the latest??
The text was updated successfully, but these errors were encountered: