Свойство | Тип | Описание | |
---|---|---|---|
AppendExtensionClassIfNecessary | string | ||
GenerateClientClass | string | ||
GenerateFile | string | ||
GetClassName | string | ||
GetExceptionType | string | ||
GetResultType | string | ||
GetType | string | ||
UpdateUseDtoClassAndDataConversionCodeProperties | void |
Метод | Описание | |
---|---|---|
GenerateFile ( ) : string |
Generates the file.
|
|
SwaggerToTypeScriptClientGenerator ( SwaggerDocument document, |
Initializes a new instance of the SwaggerToTypeScriptClientGenerator class.
|
|
SwaggerToTypeScriptClientGenerator ( SwaggerDocument document, |
Initializes a new instance of the SwaggerToTypeScriptClientGenerator class.
|
Метод | Описание | |
---|---|---|
ResolveParameterType ( SwaggerParameter parameter ) : string |
Resolves the type of the parameter.
|
Метод | Описание | |
---|---|---|
AppendExtensionClassIfNecessary ( string controllerName, string code ) : string | ||
GenerateClientClass ( string controllerName, string controllerClassName, IList |
||
GenerateFile ( string clientCode, IEnumerable |
||
GetClassName ( string className ) : string | ||
GetExceptionType ( SwaggerOperation operation ) : string | ||
GetResultType ( SwaggerOperation operation ) : string | ||
GetType ( NJsonSchema.JsonSchema4 schema, bool isNullable, string typeNameHint ) : string | ||
UpdateUseDtoClassAndDataConversionCodeProperties ( IEnumerable |
protected ResolveParameterType ( SwaggerParameter parameter ) : string | ||
parameter | SwaggerParameter | The parameter. |
Результат | string |
public SwaggerToTypeScriptClientGenerator ( SwaggerDocument document, |
||
document | SwaggerDocument | The Swagger document. |
settings | The settings. | |
Результат | System |
public SwaggerToTypeScriptClientGenerator ( SwaggerDocument document, |
||
document | SwaggerDocument | The Swagger document. |
settings | The settings. | |
resolver | TypeScriptTypeResolver | The resolver. |
Результат | System |