[Typescript-Angular] modelFileSuffix change dots '.' to slashes '/'
Created by: VincentSurelle
Description
I'm trying to generate typescript-angular
api client with pet store sample.
I installed openapi-generator with Homebrew and got version 3.3.3.
When I try to generate with modelFileSuffix='.model'
with kebab-case
my dot is changed to a slash.
When I try to generate the same but with camelCase
, it simply does not appear.
Here is a sample output :
openapi-generator version
3.3.3
OpenAPI declaration file content or url
Command line used for generation
openapi-generator generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g typescript-angular --additional-properties supportsES6=true,ngVersion='5.2.11',modelSuffix='Model',modelFileSuffix='k.djfgdlmodel' -o ./ts-client-generated-angular
Steps to reproduce
Launch the command above
Related issues/PRs
https://github.com/OpenAPITools/openapi-generator/pull/418
Suggest a fix/enhancement
https://github.com/OpenAPITools/openapi-generator/commit/73162cbcca6b1c3c086e2a764dac9c753ed87a0f (Maybe sanitize is responsible for it ?)