Method | Description | |
---|---|---|
CreateBodyParameter ( string name, |
Creates a primitive parameter for the given parameter information reflection object.
|
|
CreatePathParameter ( string parameterName, string parameterType ) : SwaggerParameter |
Creates a path parameter for a given type.
|
|
CreatePrimitiveParameter ( string name, |
Creates a primitive parameter for the given parameter information reflection object.
|
|
CreatePrimitiveParameter ( string name, string description, |
Creates a primitive parameter for the given parameter information reflection object.
|
|
GenerateAndAppendSchemaFromType ( |
Generates and appends a schema from a given type.
|
|
SwaggerGenerator ( JsonSchemaGenerator schemaGenerator, NJsonSchema.JsonSchemaGeneratorSettings schemaGeneratorSettings, JsonSchemaResolver schemaResolver ) : System |
Initializes a new instance of the SwaggerGenerator class.
|
Method | Description | |
---|---|---|
IsFileResponse ( |
||
IsParameterRequired ( |
public CreateBodyParameter ( string name, |
||
name | string | The name. |
parameter | The parameter. | |
return | SwaggerParameter |
public CreatePathParameter ( string parameterName, string parameterType ) : SwaggerParameter | ||
parameterName | string | Name of the parameter. |
parameterType | string | Type of the parameter. |
return | SwaggerParameter |
public CreatePrimitiveParameter ( string name, |
||
name | string | The name. |
parameter | The parameter information. | |
return | SwaggerParameter |
public CreatePrimitiveParameter ( string name, string description, |
||
name | string | The name. |
description | string | The description. |
parameterType | Type of the parameter. | |
parentAttributes | IList |
The parent attributes. |
return | SwaggerParameter |
public GenerateAndAppendSchemaFromType ( |
||
type | The type. | |
mayBeNull | bool | if set to |
parentAttributes | IEnumerable |
The parent attributes. |
return | NJsonSchema.JsonSchema4 |
public SwaggerGenerator ( JsonSchemaGenerator schemaGenerator, NJsonSchema.JsonSchemaGeneratorSettings schemaGeneratorSettings, JsonSchemaResolver schemaResolver ) : System | ||
schemaGenerator | JsonSchemaGenerator | The schema generator. |
schemaGeneratorSettings | NJsonSchema.JsonSchemaGeneratorSettings | The schema generator settings. |
schemaResolver | JsonSchemaResolver | The schema resolver. |
return | System |