asyncapi / parser-js

AsyncAPI parser for Javascript (browser-compatible too).
Apache License 2.0
119 stars 97 forks source link

Parser fails to return Operation #900

Closed AceTheCreator closed 11 months ago

AceTheCreator commented 11 months ago

Describe the bug

When trying to retrieve the list of Operations, Parser fails to return Operations with traits

How to Reproduce

add traits to any of your Operations, and try retrieving the list of Operations available

AsyncApi-React-Playground-App (3)

example file: https://raw.githubusercontent.com/asyncapi/spec/next-major-spec/examples/streetlights-kafka-asyncapi.yml

Expected behavior

The parser should return the list of Operations available

cc @smoya

jonaslagoni commented 11 months ago

This is gonna be solved by solving https://github.com/asyncapi/parser-js/issues/856, using it for triage.