Table of Contents

Method ConfigureServers

Namespace
Ratatoskr.AsyncApi.Generation
Assembly
Ratatoskr.dll

ConfigureServers(AsyncApiDocument, IEnumerable<ChannelRegistration>)

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

void ConfigureServers(AsyncApiDocument document, IEnumerable<ChannelRegistration> channels)

Parameters

document AsyncApiDocument
channels IEnumerable<ChannelRegistration>