Interface IOpenApiDocumentGenerator
- Namespace
- NSwag.Generation
- Assembly
- NSwag.Generation.dll
The IOpenApiDocumentGenerator interface.
public interface IOpenApiDocumentGenerator
Methods
GenerateAsync(string)
Generates the specified document.
Task<OpenApiDocument> GenerateAsync(string documentName)
Parameters
documentName
stringThe document name.
Returns
- Task<OpenApiDocument>
The document.