forked from RicoSuter/NSwag
-
Notifications
You must be signed in to change notification settings - Fork 0
SwaggerToTypeScriptClientGeneratorSettings
Rico Suter edited this page Sep 12, 2016
·
5 revisions
- Package: NSwag.CodeGeneration
- Settings for: SwaggerToTypeScriptClientGenerator
- Class: SwaggerToTypeScriptClientGeneratorSettings.cs
Inherits ClientGeneratorBaseSettings
Properties:
- TypeScriptGeneratorSettings: The TypeScript DTO interface/class generator settings (implemented in NJsonSchema)
-
ClassName: The client class name. If multiple classes are generated, the placeholder
{controller}is replaced with the name of the controller. -
Template: More information...
- JQueryCallbacks: The generated client class uses callbacks and JQuery for HTTP calls
- JQueryPromises: The generated client class uses the promises (Q or ES polyfilled) and JQuery for HTTP calls
- AngularJS: The generated client class uses the $http service from AngularJS
- Angular2: The generated client class uses the http service from Angular 2
- ModuleName: The TypeScript module name or empty for no module declaration