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. - Fixed an issue where the experimental
scorecommand ignored the settings of an API inapis, such as its decorators. - Fixed an issue where the
score,stats,inspect-node-types,join, andsplitcommands displayed an unexpected error with a stack trace instead of a parse error when an API description had invalid YAML. - Fixed an issue where a digest security scheme ignored the order of
x-securityentries.
The scheme overrode theAuthorizationheader set by a later entry, and its first request sent theAuthorizationheader set by an earlier entry or by a parameter. - 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 the
joincommand with the--prefix-components-with-info-propoption reported false component conflicts. - 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. - Updated @redocly/openapi-core to v2.87.0.
- Updated @redocly/platform-integration to v2.87.0.
- Updated @redocly/respect-core to v2.87.0.
- Fixed an issue where Respect failed with
r.trim is not a functionwhen a bearer, OAuth2, or OpenID Connect token inx-securitywas written as a number.