Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #1467
Closed
Open
Issue created Nov 16, 2018 by Administrator@rootContributor

[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 :

capture d ecran 2018-11-16 a 12 22 25

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

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 ?)

Assignee
Assign to
Time tracking