-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Typescript-Angular] modelFileSuffix change dots '.' to slashes '/' #1467
Labels
Comments
@VincentSurelle thanks for reporting the issue. My guess is that convertUsingFileNamingConvention is converting dot to slash. Was it working for you before the commit 73162cb ? cc @smasala |
I'm having a similar issue. I'm using the model file suffix |
4 tasks
daniel-sc
added a commit
to daniel-sc/openapi-generator
that referenced
this issue
Jan 11, 2019
wing328
pushed a commit
that referenced
this issue
Jan 16, 2019
A-Joshi
pushed a commit
to ihsmarkitoss/openapi-generator
that referenced
this issue
Feb 27, 2019
this issue can be closed as i actually tested it with 4.0.0 and it work |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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'
withkebab-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
https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml
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
#418
Suggest a fix/enhancement
73162cb (Maybe sanitize is responsible for it ?)
The text was updated successfully, but these errors were encountered: