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
Settings to further control the generation of TypeScript code
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Base Types
-
- Object
- GeneratorSettings
graph BT
Type-->Base0["GeneratorSettings"]
click Base0 "/api/Cake.NSwag.Settings/GeneratorSettings"
Base0-->Base1["Object"]
Type["TypeScriptGeneratorSettings"]
class Type type-node
Syntax
public class TypeScriptGeneratorSettings : GeneratorSettings
Properties
Name | Value | Summary |
---|---|---|
ClassName | string |
The class name to use for generated client code
|
ClientSettings | Client |
Container for operation-specific settings used when generating client libraries.
Inherited from GeneratorSettings
|
ControllerSettings | Controller |
Container for operation-specific settings used when generating controller code.
Inherited from GeneratorSettings
|
JsonSettings | Json |
Container for operation-specific settings used when generating JSON schemas, including Swagger specifications.
Inherited from GeneratorSettings
|
ModuleName | string |
The module name to use when generating a module
|
Methods
Name | Value | Summary |
---|---|---|
WithSettings |
GeneratorSettings |
Specifies operation-specific settings for generating client code.
Inherited from GeneratorSettings
|
WithSettings |
GeneratorSettings |
Specificies operation-specific settings for generating controller code
Inherited from GeneratorSettings
|
WithSettings |
GeneratorSettings |
Specifies operation-specific settings for generating JSON schemas, including Swagger specifications.
Inherited from GeneratorSettings
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
WithClassName |
Type |
Sets the class name for the genertated client
Requires the Cake.NSwag addin
|
WithModuleName |
Type |
Sets the module name for the generated client
Requires the Cake.NSwag addin
|