C# Class NSwag.CodeGeneration.SwaggerGenerators.WebApi.WebApiAssemblyToSwaggerGeneratorBase

Exibir arquivo Open project: NSwag/NSwag

Public Methods

Method Description
GenerateForControllers ( IEnumerable controllerClassNames ) : SwaggerDocument

Generates for controllers.

GetControllerClasses ( ) : string[]

Gets the controller classes.

Protected Methods

Method Description
WebApiAssemblyToSwaggerGeneratorBase ( WebApiAssemblyToSwaggerGeneratorSettings settings ) : System.Collections.Generic

Initializes a new instance of the WebApiAssemblyToSwaggerGeneratorBase class.

Method Details

GenerateForControllers() public abstract method

Generates for controllers.
public abstract GenerateForControllers ( IEnumerable controllerClassNames ) : SwaggerDocument
controllerClassNames IEnumerable The controller class names.
return SwaggerDocument

GetControllerClasses() public abstract method

Gets the controller classes.
public abstract GetControllerClasses ( ) : string[]
return string[]

WebApiAssemblyToSwaggerGeneratorBase() protected method

Initializes a new instance of the WebApiAssemblyToSwaggerGeneratorBase class.
protected WebApiAssemblyToSwaggerGeneratorBase ( WebApiAssemblyToSwaggerGeneratorSettings settings ) : System.Collections.Generic
settings WebApiAssemblyToSwaggerGeneratorSettings The generator settings.
return System.Collections.Generic