Minor Changes
- Added the
spec-querystring-parametersrule for Arazzo 1.1.0 descriptions.
The rule reports a step that has more than onequerystringparameter or mixesquerystringwithqueryparameters, counting the parameters of its workflow. - Added a warning to the
respectcommand for workflow inputs that don't match the workflow'sinputsschema.
The workflow still runs with the inputs as given. - Added support for the
querystringparameter location of Arazzo 1.1.0 and OpenAPI 3.2 to therespectcommand.
A step or workflow parameter within: querystringsets the whole query string of the request.
A step withoutparameterstakes a requiredquerystringparameter from the OpenAPI description, the same way as the other parameters. - Updated redoc to v3.1.0.
Patch Changes
- Fixed an issue where a Respect step that uses an AsyncAPI source description failed with
Unknown description name.
The step now reports that Respect does not support AsyncAPI yet and links the Redocly CLI repository to upvote or open an issue. - Fixed an issue where
respectskipped the content type check for a response described only by thedefaultresponse. - Fixed an issue where
respectfailed to find an operation byoperationIdwhen an empty path item or an empty operation came before it in the OpenAPI description. - Fixed an issue where
respectfailed when a workflowinputsschema had adefaultat its top level or at the top ofenv, or used a keyword that JSON Schema does not define, such asexampleor anx-extension. - Fixed an issue where
respectdid not maskformat: passwordfields of a request body or a response described under a wildcard media type, such as*/*orapplication/*. - Fixed an issue where
respectchecked a response against the first matching wildcard media type instead of the most specific one.
application/*wins over*/*regardless of their order. - Fixed an issue where
respectdid not evaluate a runtime expression embedded in a string value inside other braces, such as'{"search":"{$inputs.search}"}'.
A$fakercall in such a value no longer removes the surrounding braces. - Fixed an issue where
respectdid not apply its own lint rules, such asno-criteria-xpathand thex-securityrules, to Arazzo 1.1.0 descriptions. - Fixed an issue where
respectfailed the status code check and skipped the content type and schema checks for a response described with a status code range, such as2XX. - Fixed an issue where Respect printed a secret path parameter of an
x-operationURL unmasked in the request URL of the--verboseoutput. - Updated @redocly/openapi-core to v2.78.0.
- Updated @redocly/platform-integration to v2.78.0.
- Updated @redocly/respect-core to v2.78.0.