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
  • Merge requests
  • !3449

#3388 requestbody parameter type fix in case of additionalProperties

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/balazs-zsoldos/i3388_requestbody_always_map_in_case_additionalproperties into master Jul 24, 2019
  • Overview 0
  • Commits 10
  • Pipelines 1
  • Changes 371+

Created by: balazs-zsoldos

Description of the PR

Solution for issue #3388. I have checked and return values or properties of models are generated well, meaning the real model class is used and not a Map in case additionalProperties is true on a model class.

Therefore, this fix generates the model class (if available) as type of the requestBody parameter in all languages.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/balazs-zsoldos/i3388_requestbody_always_map_in_case_additionalproperties