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
  • #572
Closed
Open
Issue created Jul 16, 2018 by Administrator@rootContributor

[Spring] The code-gen to have an option to generate JsonObjects instead of POJOs

Created by: javadch

In many cases, the data is stored in JSON format (e.g. MongoDB) and is delivered to the client as JSON too. In these kinds of scenarios two unnecessary JSON transformation happens; one from DB to POJO and another from the POJO to the response body. Having a JSON aware POJO can help to eliminate these two transformations. So, it is requested to have a switch in the code-gen to allow generating the model objects as JSON Aware POJOs (JOJOs). You can find more details on the issues as well as a possible solution here

openapi-generator version: 3.1.0

Assignee
Assign to
Time tracking