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 supported exchange types to the specification #73

Closed gomete closed 3 years ago

gomete commented 3 years ago

In order to reduce typos, a list of exchange types could be provided as it is a short limited list: The type of the exchange. Can be either topic, direct, fanout, default or headers. (https://github.com/asyncapi/bindings/blob/master/amqp/README.md#channel).

The is property is an enum and this exchange.type seems to be the same case but:

So my proposal is to provide a static class with a list of constants just to have the supported options.

m-wild commented 3 years ago

Closed by #74