Open m-mohr opened 4 years ago
well I guess we are certainly happy about the nullable improvement :p
Another release with changes: https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0-rc1
Final release: https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0
We need support at least in ReDoc and spectral here.
OpenAPI 3.1 is in release candidate phase: https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0-rc0
While this is nothing for openEO API 1.0, there are quite a lot of good improvements that are highly relevant for us. Therefore, I may take OpenAPI 3.1 into consideration for an openEO API version 1.1 or so.
Benefits (from the ChangeLog):
This will help with better describing things as at the moment and reduce the length of the OpenAPI document. Some of the descriptions are relatively general to allow reusability of several schemas and this could be improved.
The JSON Schema change is the most important benefit as it allows us to re-use the OpenAPI schemas and get rid of additional JSON Schemas like we have for the process graphs. It makes validation easier as more JSON Schema tooling is available. It also allows to make our OpenAPI file smaller as we can link to external JSON Schemas such as from STAC, GeoJSON etc.
Drawback will be that tooling will take some time to adopt, especially Spectral (for validation), OpenAPI Generator (for code generation) and ReDoc (for documentation) are important.
Other potentially interesting things or things we need to change:
Related issues: