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 #74

Closed gomete closed 3 years ago

gomete commented 3 years ago

To cover #73

Use example:

channelItem.Bindings = new ChannelBindings 
{
    Amqp = new AmqpChannelBinding
    {
        Is = AmqpChannelBindingIs.RoutingKey,
        Exchange = new AmqpChannelBindingExchange
        {
            Name = "anyName",
            Type = AmqpChannelBindingExchangeType.Fanout,
            Durable = true,
            AutoDelete = false,
            VirtualHost = "anyVirtualHost",
        },
    },
};