Table of Contents

Interface IAsyncApiTransportBindingProvider

Namespace
Ratatoskr.AsyncApi.Generation
Assembly
Ratatoskr.dll

Pluggable transport binding provider that adds protocol-specific details to the AsyncAPI document. Implement this interface to support additional transports beyond RabbitMQ.

public interface IAsyncApiTransportBindingProvider

Methods

ConfigureChannel(ChannelRegistration, AsyncApiDocument)

Called for each channel to add transport-specific channel bindings (e.g. AMQP exchange/queue). May also add additional channels (e.g. subscription queue channel for consume channels).

ConfigureMessage(MessageRegistration, ChannelRegistration, AsyncApiMessage)

Called for each message to add transport-specific message bindings.

ConfigureOperation(ChannelRegistration, AsyncApiOperation)

Called for each operation to add transport-specific operation bindings.

ConfigureServers(AsyncApiDocument, IEnumerable<ChannelRegistration>)

Called once during document generation to add server definitions and any top-level transport config.