C# 클래스 NSwag.SwaggerSchemaResolver

Appends a JSON Schema to the Definitions of a Swagger document.
상속: JsonSchemaResolver
파일 보기 프로젝트 열기: NSwag/NSwag 1 사용 예제들

공개 메소드들

메소드 설명
AppendSchema ( NJsonSchema.JsonSchema4 schema, string typeNameHint ) : void

Appends the schema to the root object.

SwaggerSchemaResolver ( SwaggerDocument document, NJsonSchema.JsonSchemaGeneratorSettings settings ) : System

Initializes a new instance of the SwaggerSchemaResolver class.

메소드 상세

AppendSchema() 공개 메소드

Appends the schema to the root object.
public AppendSchema ( NJsonSchema.JsonSchema4 schema, string typeNameHint ) : void
schema NJsonSchema.JsonSchema4 The schema to append.
typeNameHint string The type name hint.
리턴 void

SwaggerSchemaResolver() 공개 메소드

Initializes a new instance of the SwaggerSchemaResolver class.
is
public SwaggerSchemaResolver ( SwaggerDocument document, NJsonSchema.JsonSchemaGeneratorSettings settings ) : System
document SwaggerDocument The Swagger document.
settings NJsonSchema.JsonSchemaGeneratorSettings The settings.
리턴 System