-
Notifications
You must be signed in to change notification settings - Fork 27
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
Moving to open api spec 3.1 #239
Comments
Things to review for migration: https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0 Also to notice - currently not all generators supports OAS3.1 so the migration should be considered carefully. |
As discussed in the meeting today, investigating will continue but we don't expect 3.1 to be used for the next version. Version 3.0 will be the openapi spec to use for now. |
The group members at a meeting on 23 Sep 2021 discussed a move to support OpenAPI 3.1 Our policy will be to move to newer versions providing that there is tool chain support from the commonly used toolchains by implementers across the wider ICAR group. At present we cannot move as we await open-api generator support for OpenAPI spec 3.1. In turn this depends on when swagger-parser Supports OAS 3.1. |
Discussed this with reference to #409 which would require OAS3.1 Recommended a move to support OAS 3.1 within the timeline of ADE 1.4, subject to checking the way that code generation, particularly of the change from |
Noted also that use of GeoJSON's |
In general, I managed to create the Java-DTOs from the JSON-definitions....
This is from feedUrlScheme as input. |
I investigated the problem @AndreasSchultzGEA identified. TL;DR: It is a tooling problem on Windows. It seems it is caused by a problem in swagger-parser-v3 handling Windows path names that are passed to it by openapi-generator (v6.5 to v7.2). The actual problem is how openapi-generator passes the input file spec to the parser, but it shows up when swagger-parser-v3 is used to handle recent JSON Schema files (not just OpenAPI 3.1, but OpenAPI 3.1 implies that recent JSON Schema parsing is needed). There are two workarounds in the discussion of the issue here: OpenAPITools/openapi-generator#15202
|
Related to #214, the question pops up whether or not to move our spec to OpenAPi 3.1.
Two main questions on this topic:
The text was updated successfully, but these errors were encountered: