This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.NSwag.
Summary
Sets the class name for the genertated client
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Type
Script Generator Settings Extensions
Syntax
public static TypeScriptGeneratorSettings WithClassName(this TypeScriptGeneratorSettings settings, string className)
Parameters
Name | Type | Description |
---|---|---|
settings | Type |
The settings |
className | string | A valid TypeScript class name for the generated client |
Return Value
Type | Description |
---|---|
Type |
The updated settings object |