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
It's not possible to add message examples when references are used. I'm pretty sure the JSON below meets the AsyncAPI specs.
How to Reproduce
Here's a complete example that, when pasted into the studio, gives 4 errors (NOT SUPPORTED: keyword "id", use "$id" for schema ID) and some warnings (ignore these).
The output is from asyncapi/saunter, integrated into a C# web app, but with names changed. The only real change is the additional of the examples block in the message. I'm pretty sure it's all valid, according to the spec. Saunter outputs the references used in the message's definition.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Describe the bug
It's not possible to add message examples when references are used. I'm pretty sure the JSON below meets the AsyncAPI specs.
How to Reproduce
Here's a complete example that, when pasted into the studio, gives 4 errors (
NOT SUPPORTED: keyword "id", use "$id" for schema ID
) and some warnings (ignore these).The output is from asyncapi/saunter, integrated into a C# web app, but with names changed. The only real change is the additional of the
examples
block in the message. I'm pretty sure it's all valid, according to the spec. Saunter outputs the references used in the message's definition.Errors:
Expected behavior
No errors when the studio validates the above JSON, and the studio correctly renders the document.
The text was updated successfully, but these errors were encountered: