Skip to content

@redocly/openapi-core@2.87.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 15:53
5deee6a

Minor Changes

  • Added the spec-no-invalid-additionalOperations rule, which reports an entry in the additionalOperations map of an OpenAPI 3.2 path item for a method that has its own field, such as GET.
  • Added the spec-no-invalid-parameter-combinations rule for OpenAPI 3.x descriptions.
    The rule reports a path parameter without required: true or with { or } in its name, and a parameter or a header that uses schema together with content, or example together with examples.
  • Added the spec-no-invalid-xml-combinations rule, which reports an XML Object of an OpenAPI 3.2 description that has the nodeType field together with the deprecated attribute or wrapped field.
  • Added two checks to the spec-querystring-parameters rule: it reports a parameter with in: querystring that has no content field, or that has the schema, style, explode, or allowReserved field.

Patch Changes

  • Fixed an issue where the struct rule did not report an arazzo field that was not a version number of the Arazzo specification, such as 1.0.x.
  • Updated @redocly/config to v0.81.0.
  • Fixed an issue where the struct rule did not report the allowReserved and allowEmptyValue fields 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 lint reported the boolean schemas true and false in OpenAPI 3.1 and 3.2 descriptions as invalid.
  • Fixed an issue where lint reported the cookie value of a parameter's style field in OpenAPI 3.2 descriptions as invalid.
  • Fixed an issue where the struct rule did not report an openapi field that was not a version number of the OpenAPI specification, such as 3.1.x.
  • Fixed an issue where the remove-x-internal decorator left security requirements that used a removed security scheme.
  • Fixed an issue where the security-defined rule reported a security requirement that names a security scheme by its URI in OpenAPI 3.2 descriptions.
  • Fixed an issue where the spec-querystring-parameters rule did not report a second in: querystring parameter of an operation when one of the two was a $ref.