Closed jaydeepk closed 4 months ago
@jaydeepk this is incorrect example:
See this reply: https://github.com/asyncapi/spec/issues/1031#issuecomment-1943605614
upd:
Need time to discuss what to do with this fields: https://github.com/asyncapi/spec/issues/1031#issuecomment-1943749870
Right scenario is to use schemaFormat
to be able to use schemas from OpenAPI - https://github.com/asyncapi/spec/issues/1037
Implemented in 1.0.0-RC
Description
When we try to parse a spec with an 'example' attribute, it throws an error.
How to Reproduce
Given a spec with the following message schema:
Note: The name property has an 'example' attribute.
Now when we try to parse the spec :
It throws this error: