[BUG] Operations object should have function channel() instead of channels() #120
Closed
2 tasks done
Labels
bug
Something isn't working
Describe the bug.
As per spec v3.0.0 Operations are unique and only support a single Channel. Doesn't make much sense to return a
Channels
object since it should only contain only oneChannel
.https://www.asyncapi.com/docs/reference/specification/v3.0.0#operationObject
https://github.com/asyncapi/parser-api/blob/master/docs/api.md
Expected behavior
parser should support operation.channel() and not operation.channels()
Screenshots
How to Reproduce
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: