You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User story.
As a user I want to know if the examples defined in the message object are valid.
Is your feature request related to a problem?
The following AsyncAPI document is invalid and Spectral should throw errors:
asyncapi: "2.0.0"info:
title: Bad APIversion: "1.0.0"components:
messages:
someMessage:
payload:
type: stringheaders:
type: objectexamples:
- payload: 2137# should be stringheaders: someHeader # should have object shape
User story.
As a user I want to know if the examples defined in the message object are valid.
Is your feature request related to a problem?
The following AsyncAPI document is invalid and Spectral should throw errors:
Additional context
Part of #2100
The text was updated successfully, but these errors were encountered: