C# Class NSwag.Commands.WebApiToSwaggerCommandBase

Inheritance: NSwag.Commands.Base.OutputCommandBase
显示文件 Open project: NSwag/NSwag

Private Properties

Property Type Description

Public Methods

Method Description
RunAsync ( ) : Task
RunAsync ( CommandLineProcessor processor, IConsoleHost host ) : Task
WebApiToSwaggerCommandBase ( ) : System

Protected Methods

Method Description
CreateGenerator ( ) : WebApiAssemblyToSwaggerGeneratorBase

Creates a new generator instance.

Method Details

CreateGenerator() protected abstract method

Creates a new generator instance.
protected abstract CreateGenerator ( ) : WebApiAssemblyToSwaggerGeneratorBase
return NSwag.CodeGeneration.SwaggerGenerators.WebApi.WebApiAssemblyToSwaggerGeneratorBase

RunAsync() public method

public RunAsync ( ) : Task
return Task

RunAsync() public method

public RunAsync ( CommandLineProcessor processor, IConsoleHost host ) : Task
processor CommandLineProcessor
host IConsoleHost
return Task

WebApiToSwaggerCommandBase() public method

public WebApiToSwaggerCommandBase ( ) : System
return System