OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

generators/typescript-angular


id: generator-opts-client-typescript-angular title: Config Options for typescript-angular sidebar_label: typescript-angular


OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
modelPropertyNamingNaming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original namecamelCase
supportsES6Generate code that conforms to ES6.false
npmNameThe name under which you want to publish generated npm package. Required to generate a full angular packagenull
npmVersionThe version of your npm package. Default is '1.0.0'null
npmRepositoryUse this property to set an url your private npmRepo in the package.jsonnull
snapshotWhen setting this property to true the version will be suffixed with -SNAPSHOT.yyyyMMddHHmmfalse
withInterfacesSetting this property to true will generate interfaces next to the default class implementations.false
taggedUnionsUse discriminators to create tagged unions instead of extending interfaces.false
providedInRootUse this property to provide Injectables in root (it is only valid in angular version greater or equal to 6.0.0).false
ngVersionThe version of Angular. Default is '4.3'null
serviceSuffixThe suffix of the generated service. Default is 'Service'.null
serviceFileSuffixThe suffix of the file of the generated service (service<suffix>.ts). Default is '.service'.null
modelSuffixThe suffix of the generated model. Default is ''.null
modelFileSuffixThe suffix of the file of the generated model (model<suffix>.ts). Default is ''.null
fileNamingNaming convention for the output files: 'camelCase', 'kebab-case'. Default is 'camelCase'.null
Last updated on 2019-1-22
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))