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
What happened?
Within an OpenAPI definition file, the extension falsely reports a component schema to not be used
Minimal reproducible OpenAPI snippet
openapi: 3.1.0 tags: - name: minimal description: Minimal endpoint servers: - url: https://redocly.com/api description: fake info: description: "Example for bug" license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html title: "Redocly bug example" version: 2.0.0 paths: /ping: get: description: "Some endpoint" summary: "some_endpoint" operationId: ping security: - OpenIdConnectSecurityScheme: - account:view_profile tags: - "minimal" parameters: [] responses: '200': description: result content: application/json: schema: $ref: '#/components/schemas/MainSchema' example: data: "abc:123": - label: "some game" '400': description: result content: application/json: schema: type: object properties: error: type: string minLength: 1 description: "Error description label" example: "Invalid request" required: - error components: schemas: ChildSchema: type: object properties: label: type: string minLength: 1 description: "Some label" example: "hello world" required: - label MainSchema: type: object properties: data: type: object description: "" patternProperties: "^[a-z]+:[0-9]+$": description: "" type: array items: $ref: '#/components/schemas/ChildSchema' additionalProperties: false required: - data securitySchemes: OpenIdConnectSecurityScheme: type: openIdConnect openIdConnectUrl: https://redocly.com/.well-known/openid-configuration description: 'OIDC token'
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
@samuel-deal-tisseo thank you for reporting this! As a workaround, you can suppress that issue explicitly by using ignore file.
I'm transferring the issue to the Redocly CLI repo as this is related to the linter and not to the extension itself.
Sorry, something went wrong.
No branches or pull requests
What happened?
Within an OpenAPI definition file, the extension falsely reports a component schema to not be used
Minimal reproducible OpenAPI snippet
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: