Closed g-radam closed 1 month ago
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.
The parser yields an error due to some correlation between a Channel
address
being null and its associated Operation not havingtraits: []
defined. Either changing the address to be not-null, OR, adding atraits: []
field to the operation will suppress the error.Note that Operation Traits are NOT required by the spec, so being forced to add a
traits: []
field to an operation due to a channel address being null is quite erroneous. I have zero insight into where such an issue could be stemming from.Expected behavior
Traits can be omitted from operations without an error, regardless of if the associated channel has a null address.
Screenshots
Studio link to the error
How to Reproduce
Below is a minimal reproducible example:
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
No, someone else can work on it