-
Notifications
You must be signed in to change notification settings - Fork 29
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
OpenAPI Initiative announced specification versions 3.0.4 and 3.1.1 #338
Comments
Release Noteshttps://github.com/OAI/OpenAPI-Specification/releases/tag/3.0.4 While the 3.0.4 release makes no changes to requirements of the OpenAPI 3.0.3 specification, it does introduce a number of notable improvements, including:
OpenAPI Description writers should mark their OpenAPI Descriptions with the version of the OpenAPI specification they used to write their specification, updating where possible. Tooling maintainers should expect minimal work to support 3.0.4; however, we recommend checking the list of changes below. Clearer DefinitionsIntroduce consistent language around OpenAPI Document/Description/Definition:
Improved language regarding schemas, explaining the difference between the OpenAPI schema, the schemas used within the OpenAPI schema, and the use of a non-authoritative JSON Schema to supplement the written spec. ReferencesAdditional guidance for resolving references and parsing documents was added, resolving component names, tags, and operationIds are clarified. Data TypesExtensive clarifications on data types and encoding. Added a section on handling binary data. SecurityAdded a note that a Updated references to other standards where newer versions are available, and added more explanation for OpenIDConnect. Added a "Security Concerns" section containing advice for implementers and users of OpenAPI. Request DataExtensive refactoring of the parameters section Headers have their own section with examples and specific information. Improves and expands on OpenAPI Clarifies and expands on file uploads, form-urlencoded request bodies, and multipart content, and moves them to a refactored Encoding Object section to provide better coverage of edge cases and more examples. |
The Swagger editor does not yet support 3.0.4. We should delay any requirement to use 3.0.4 until that is in place, otherwise none of our APIs will render when displayed using that tool. |
Good point! Let's wait for the tool support then. |
Problem description
In patch releases, no changes are made to the way that APIs are described, but the specification wording itself contains many updates, expansions, and clarifications where previously the points may have been unclear or not covered.
https://spec.openapis.org/oas/v3.0.4.html
Expected action
OpenAPI Initiative states that:
but recommends updating where possible.
API Design Guidelines should reference to the latest release 3.0.4 and it should be used by sub-projects in Spring25 meta-release.
Additional context
https://www.openapis.org/blog/2024/10/25/announcing-openapi-specification-patch-releases
The text was updated successfully, but these errors were encountered: