asyncapi / saunter

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

Add channel parameters #79

Closed gomete closed 3 years ago

gomete commented 3 years ago

Channel parameters field in the specification is an array of parameter objects https://www.asyncapi.com/docs/specifications/2.0.0#parametersObject. In the current implementation, channel parameters field is a string.

There is no way of setting parameters in the ChannelAttibute as Parameters property is a string too.

Could we modify the schema (it is a breaking change) and add a new ChannelParameterAttribute to add one or several parameters to the channel indicated with ChannelAttribute?

m-wild commented 3 years ago

Closed by #80