We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To Reproduce Steps to reproduce the behavior:
Given this .redocly.yaml file None
.redocly.yaml
And this OpenAPI file(s)
openapi: 3.1.0 info: title: Bug version: 0.0.1 description: "Bug" license: name: Unlicensed identifier: UNLICENSED url: http://invalid servers: - description: "yep" url: http://invalid paths: /test: get: operationId: getTest summary: Get Test! Foo! Etc! responses: 200: description: "200" content: application/json: schema: type: array prefixItems: - type: "string" items: false 400: description: "400" content: application/json: schema: { type: "object" }
openapi ...
npx @redocly/openapi-cli lint ~/tmp/oasbug.yml
Expected type `Schema` (object) but got `boolean` 28 | prefixItems: 29 | - type: "string" 30 | items: false 31 | 400: 32 | description: "400"
Expected behavior This is valid according to Draft 2020-12's test suite
openapi-cli Version(s) What version of openapi-cli are you using? 1.0.0-beta.69
openapi-cli
Node.js Version(s) What version of node.js are you using? 16.10.0
Node.js
node.js
The text was updated successfully, but these errors were encountered:
@shabbyrobe thanks for reporting.
Sorry, something went wrong.
This seems to apply to unevaluatedProperties and unevaluatedItems too; the same kind of error is reported.
unevaluatedProperties
unevaluatedItems
andriyl
Successfully merging a pull request may close this issue.
To Reproduce
Steps to reproduce the behavior:
Given this
.redocly.yaml
fileNone
And this OpenAPI file(s)
openapi.yml
openapi ...
Expected behavior
This is valid according to Draft 2020-12's test suite
openapi-cli
Version(s)What version of
openapi-cli
are you using?1.0.0-beta.69
Node.js
Version(s)What version of
node.js
are you using?16.10.0
The text was updated successfully, but these errors were encountered: