-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Section Versions claims
Each new minor version of the OpenAPI Specification SHALL allow any OpenAPI document that is valid against any previous minor version of the Specification, within the same major version, to be updated to the new Specification version with equivalent semantics. Such an update MUST only require changing the
openapiproperty to the new minor version.For example, a valid OpenAPI 3.0.2 document, upon changing its
openapiproperty to3.1.0, SHALL be a valid OpenAPI 3.1.0 document, semantically equivalent to the original OpenAPI 3.0.2 document. New minor versions of the OpenAPI Specification MUST be written to ensure this form of backward compatibility.
Now 3.1.0 is out, uses a different JSON Schema draft, and this statement does not reflect reality.
The first paragraph in this section explicitly allows correcting errors in the specification document with a patch version:
Typically,
.patchversions address errors in this document, not the feature set.
So the two now erroneous paragraphs could simply be removed.