asyncapi / saunter

Saunter is a code-first AsyncAPI documentation generator for dotnet.
https://www.asyncapi.com/
MIT License
195 stars 55 forks source link

Cannot use saunter asyncapi specification in generator #125

Closed mr-nuno closed 2 years ago

mr-nuno commented 2 years ago

ag spec.json @asyncapi/nodejs-template -o nodejs

The $ref is wrong for channelBindings

"bindings": {
   "$ref": "#/components/operationBindings/my-custom-binding"
 },

image

mr-nuno commented 2 years ago

My bad I had placed the BindingRef inside a PublishOperation instead of directly on the Channel