C# 클래스 NSwag.AspNet.Owin.SwaggerExtensions

Provides OWIN extensions to enable Swagger UI.
파일 보기 프로젝트 열기: NSwag/NSwag

공개 메소드들

메소드 설명
UseSwagger ( this app, Assembly webApiAssembly, SwaggerOwinSettings settings ) : IAppBuilder

Addes the Swagger generator and Swagger UI to the OWIN pipeline.

UseSwagger ( this app, IEnumerable webApiAssemblies, SwaggerOwinSettings settings ) : IAppBuilder

Addes the Swagger generator and Swagger UI to the OWIN pipeline.

UseSwagger ( this app, IEnumerable controllerTypes, SwaggerOwinSettings settings ) : IAppBuilder

Addes the Swagger generator to the OWIN pipeline.

UseSwagger ( this app, IEnumerable controllerTypes, SwaggerOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : IAppBuilder

Addes the Swagger generator to the OWIN pipeline.

UseSwaggerUi ( this app, Assembly webApiAssembly, SwaggerUiOwinSettings settings ) : IAppBuilder

Addes the Swagger generator and Swagger UI to the OWIN pipeline.

UseSwaggerUi ( this app, IEnumerable webApiAssemblies, SwaggerUiOwinSettings settings ) : IAppBuilder

Addes the Swagger generator and Swagger UI to the OWIN pipeline.

UseSwaggerUi ( this app, IEnumerable controllerTypes, SwaggerUiOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : IAppBuilder

Addes the Swagger generator and Swagger UI to the OWIN pipeline.

UseSwaggerUi ( this app, SwaggerUiOwinSettings settings ) : IAppBuilder

Addes the Swagger UI (only) to the OWIN pipeline.

메소드 상세

UseSwagger() 공개 정적인 메소드

Addes the Swagger generator and Swagger UI to the OWIN pipeline.
public static UseSwagger ( this app, Assembly webApiAssembly, SwaggerOwinSettings settings ) : IAppBuilder
app this The app.
webApiAssembly System.Reflection.Assembly The Web API assembly to search for controller types.
settings SwaggerOwinSettings The Swagger generator settings.
리턴 IAppBuilder

UseSwagger() 공개 정적인 메소드

Addes the Swagger generator and Swagger UI to the OWIN pipeline.
public static UseSwagger ( this app, IEnumerable webApiAssemblies, SwaggerOwinSettings settings ) : IAppBuilder
app this The app.
webApiAssemblies IEnumerable The Web API assemblies to search for controller types.
settings SwaggerOwinSettings The Swagger generator settings.
리턴 IAppBuilder

UseSwagger() 공개 정적인 메소드

Addes the Swagger generator to the OWIN pipeline.
public static UseSwagger ( this app, IEnumerable controllerTypes, SwaggerOwinSettings settings ) : IAppBuilder
app this The app.
controllerTypes IEnumerable The Web API controller types.
settings SwaggerOwinSettings The Swagger generator settings.
리턴 IAppBuilder

UseSwagger() 공개 정적인 메소드

Addes the Swagger generator to the OWIN pipeline.
public static UseSwagger ( this app, IEnumerable controllerTypes, SwaggerOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : IAppBuilder
app this The app.
controllerTypes IEnumerable The Web API controller types.
settings SwaggerOwinSettings The Swagger generator settings.
schemaGenerator SwaggerJsonSchemaGenerator The schema generator.
리턴 IAppBuilder

UseSwaggerUi() 공개 정적인 메소드

Addes the Swagger generator and Swagger UI to the OWIN pipeline.
public static UseSwaggerUi ( this app, Assembly webApiAssembly, SwaggerUiOwinSettings settings ) : IAppBuilder
app this The app.
webApiAssembly System.Reflection.Assembly The Web API assembly to search for controller types.
settings SwaggerUiOwinSettings The Swagger UI and generator settings.
리턴 IAppBuilder

UseSwaggerUi() 공개 정적인 메소드

Addes the Swagger generator and Swagger UI to the OWIN pipeline.
public static UseSwaggerUi ( this app, IEnumerable webApiAssemblies, SwaggerUiOwinSettings settings ) : IAppBuilder
app this The app.
webApiAssemblies IEnumerable The Web API assemblies to search for controller types.
settings SwaggerUiOwinSettings The Swagger UI and generator settings.
리턴 IAppBuilder

UseSwaggerUi() 공개 정적인 메소드

Addes the Swagger generator and Swagger UI to the OWIN pipeline.
public static UseSwaggerUi ( this app, IEnumerable controllerTypes, SwaggerUiOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : IAppBuilder
app this The app.
controllerTypes IEnumerable The Web API controller types.
settings SwaggerUiOwinSettings The Swagger UI and generator settings.
schemaGenerator SwaggerJsonSchemaGenerator The schema generator.
리턴 IAppBuilder

UseSwaggerUi() 공개 정적인 메소드

Addes the Swagger UI (only) to the OWIN pipeline.
public static UseSwaggerUi ( this app, SwaggerUiOwinSettings settings ) : IAppBuilder
app this The app.
settings SwaggerUiOwinSettings The Swagger UI settings.
리턴 IAppBuilder