Property | Type | Description | |
---|---|---|---|
GenerateClientClass | string | ||
GenerateFile | string | ||
GenerateFile | string | ||
GetClassName | string | ||
GetExceptionType | string | ||
GetOperations | List |
||
GetParameterVariableName | string | ||
GetResultDescription | string | ||
GetResultType | string | ||
GetSuccessResponse | SwaggerResponse | ||
GetType | string | ||
HasResultType | bool |
Method | Description | |
---|---|---|
GenerateFile ( ) : string |
Generates the the whole file containing all needed types.
|
Method | Description | |
---|---|---|
ClientGeneratorBase ( ITypeResolver resolver, CodeGeneratorSettingsBase codeGeneratorSettings ) : System |
Initializes a new instance of the ClientGeneratorBase class.
|
|
ResolveParameterType ( SwaggerParameter parameter ) : string |
Resolves the type of the parameter.
|
Method | Description | |
---|---|---|
GenerateClientClass ( string controllerName, string controllerClassName, IList |
||
GenerateFile ( SwaggerDocument document, ClientGeneratorOutputType type ) : string | ||
GenerateFile ( string clientCode, IEnumerable |
||
GetClassName ( string controllerName ) : string | ||
GetExceptionType ( SwaggerOperation operation ) : string | ||
GetOperations ( SwaggerDocument document ) : List |
||
GetParameterVariableName ( SwaggerParameter parameter ) : string | ||
GetResultDescription ( SwaggerOperation operation ) : string | ||
GetResultType ( SwaggerOperation operation ) : string | ||
GetSuccessResponse ( SwaggerOperation operation ) : SwaggerResponse | ||
GetType ( NJsonSchema.JsonSchema4 schema, bool isNullable, string typeNameHint ) : string | ||
HasResultType ( SwaggerOperation operation ) : bool |
protected ClientGeneratorBase ( ITypeResolver resolver, CodeGeneratorSettingsBase codeGeneratorSettings ) : System | ||
resolver | ITypeResolver | The type resolver. |
codeGeneratorSettings | CodeGeneratorSettingsBase | The code generator settings. |
return | System |
protected ResolveParameterType ( SwaggerParameter parameter ) : string | ||
parameter | SwaggerParameter | The parameter. |
return | string |