Minor Changes
- Added the
spec-no-invalid-additionalOperationsrule, which reports an entry in theadditionalOperationsmap of an OpenAPI 3.2 path item for a method that has its own field, such asGET. - Added the
spec-no-invalid-parameter-combinationsrule for OpenAPI 3.x descriptions.
The rule reports a path parameter withoutrequired: trueor with{or}in its name, and a parameter or a header that usesschematogether withcontent, orexampletogether withexamples. - Added the
spec-no-invalid-xml-combinationsrule, which reports an XML Object of an OpenAPI 3.2 description that has thenodeTypefield together with the deprecatedattributeorwrappedfield. - Added two checks to the
spec-querystring-parametersrule: it reports a parameter within: querystringthat has nocontentfield, or that has theschema,style,explode, orallowReservedfield.
Patch Changes
- Fixed an issue where the
structrule did not report anarazzofield that was not a version number of the Arazzo specification, such as1.0.x. - Updated @redocly/config to v0.81.0.
- Fixed an issue where the
structrule did not report theallowReservedandallowEmptyValuefields in a Header Object of an OpenAPI 3.x description.
The OpenAPI specification does not allow these fields in a Header Object. - Fixed an issue where
lintreported the boolean schemastrueandfalsein OpenAPI 3.1 and 3.2 descriptions as invalid. - Fixed an issue where
lintreported thecookievalue of a parameter'sstylefield in OpenAPI 3.2 descriptions as invalid. - Fixed an issue where the
structrule did not report anopenapifield that was not a version number of the OpenAPI specification, such as3.1.x. - Fixed an issue where the
remove-x-internaldecorator left security requirements that used a removed security scheme. - Fixed an issue where the
security-definedrule reported a security requirement that names a security scheme by its URI in OpenAPI 3.2 descriptions. - Fixed an issue where the
spec-querystring-parametersrule did not report a secondin: querystringparameter of an operation when one of the two was a$ref.