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
  • #8015
Closed
Open
Issue created Nov 24, 2020 by Administrator@rootContributor

[REQ] Java MicroPofile Rest client with Jackson serialization?

Created by: hrstoyanov

Is your feature request related to a problem? Please describe.

Quarkus, an up-and-coming Java Microprofile implementation will soon allow users to use JAX-RS with Jackson, instead of the standard JSONB as discussed here

Currently this generator cannot generate Microprofile rest client code based on JAX-RS+jackson code. I tried this (in my Gradle):

   ...
    openApiGenerate {
        generatorName = "java"       
        configOptions = [
                dateLibrary: "java8",
                java8: "true",
                library:"microprofile",
                serializationLibrary:"jackson"
        ]
     
    }

but the generated code is still JAX-RS/JSONB, not JAX-RS/Jackson

Describe the solution you'd like

This should do the trick:

 openApiGenerate {
        generatorName = "java"       
        configOptions = [
                ...
                library:"microprofile",
                serializationLibrary:"jackson"
        ]
Assignee
Assign to
Time tracking