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 module name for the generated client
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- Type
Script Generator Settings Extensions
Syntax
public static TypeScriptGeneratorSettings WithModuleName(this TypeScriptGeneratorSettings settings, string moduleName)
Parameters
Name | Type | Description |
---|---|---|
settings | Type |
The settings |
moduleName | string | A valid TypeScript module name for the generated module |
Return Value
Type | Description |
---|---|
Type |
The updated settings object |