C# Класс NSwag.SwaggerSchemaResolver

Appends a JSON Schema to the Definitions of a Swagger document.
Наследование: JsonSchemaResolver
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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