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
  • #311
Closed
Open
Issue created Jun 13, 2018 by Administrator@rootContributor

[elm-client] Spaces in definition names will break

Created by: andys8

Issue

If there are definitions, which contain spaces, the generated code will break, because the names are used for types and filenames and include spaces.

But: I think spaces are not RFC3986-compliant. I'm opening this issue here, because it could be solved and make the generated code more robust by parsing those names and handling some characters. The actual issue is probably other libraries using spaces. I've opened an issue for feathers-swagger where this is the case: https://github.com/feathersjs-ecosystem/feathers-swagger/issues/109

Code: https://github.com/feathersjs-ecosystem/feathers-swagger/blob/e61b2852f728485e3a7ec82abd16de51b8bf5538/lib/index.js#L143

Fix

Parse and remove or replaces spaces (and other characters)

Assignee
Assign to
Time tracking