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
When testing the below AsyncAPI definition on https://editor-next.swagger.io/ v5.0.0-alpha.87, the linting rule 'examples' must be an array of Message Example Objects is triggered, despite the objects in the examples array conforming to the JSON Schema specified in the parent object.
'examples' must be an array of Message Example Objects
examples
asyncapi: '2.6.0' info: title: Title version: '1.0.0' description: 'description' channels: {} components: messageTraits: commonHeaders: headers: type: object properties: my-app-header: type: integer minimum: 0 maximum: 100 examples: - headers: my-app-header: 100
Steps to reproduce the behavior:
No validation error appears as the content of $.components.messageTraits.commonHeaders.examples is spec compliant
$.components.messageTraits.commonHeaders.examples
The text was updated successfully, but these errors were encountered:
fix(ls): fix linting rule for MessageTrait.exammples field
f830855
Refs #3761
Confirmed that refracting layer creates semantic ApiDOM representation correctly. The issue must come from the linting.
Sorry, something went wrong.
Addressed in #3762
fix(ls): fix linting rule for AsyncAPI 2.x MessageTrait.exammples fie…
a6ea256
…ld (#3762) Refs #3761
char0n
No branches or pull requests
Q&A (please complete the following information)
Describe the bug you're encountering
When testing the below AsyncAPI definition on https://editor-next.swagger.io/ v5.0.0-alpha.87, the linting rule
'examples' must be an array of Message Example Objects
is triggered, despite the objects in theexamples
array conforming to the JSON Schema specified in the parent object.To reproduce...
Steps to reproduce the behavior:
Expected behavior
No validation error appears as the content of
$.components.messageTraits.commonHeaders.examples
is spec compliantScreenshots
The text was updated successfully, but these errors were encountered: