Skip to content

SwaggerToTypeScriptClientGeneratorSettings

Rico Suter edited this page Sep 12, 2016 · 5 revisions

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

Clone this wiki locally