[REQ][typescript-angular] Option to rename ApiModule and Configuration
Created by: snebjorn
Is your feature request related to a problem? Please describe.
Generated angular client module will always be called ApiModule
.
The module also exposes a Configuration
object which also cannot be renamed.
This isn't great when multiple generated clients are needed in a single project.
Describe the solution you'd like
I'd like an Config Option for typescript-angular that can configure the Module
and Configuration
prefix.
Option | Description | Values | Default |
---|---|---|---|
modulePrefix | The prefix of the file and class of the generated module (<prefix>.module.ts and class <prefix>Module ). |
Api | |
configuraionPrefix | The prefix of the file and class of the generated configuration object (<prefix>Configuration.ts and class <prefix>Configuration ). |
null |
Note the names are in the default fileNaming: camelCase format, but kebab-case should also be supported