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
  • #2852
Closed
Open
Issue created May 09, 2019 by Administrator@rootContributor

[BUG][javascript client] Server Object without enum not considered

Created by: jdorel

Description

https://github.com/OpenAPITools/openapi-generator/blob/8e91b8c62a1710ae4924b9c5f931c549f40d4e5a/modules/openapi-generator/src/main/resources/Javascript/es6/ApiClient.mustache#L648

If an enum_values is not specified, it is impossible to modify the value.

The specification (see the exemple just above the link) indicates that without any enum, any value should be accepted.

openapi-generator version

4.0.0-beta3

Assignee
Assign to
Time tracking