Giter VIP home page Giter VIP logo

Comments (5)

nikosmoum avatar nikosmoum commented on May 9, 2024 5

Any updates on this?

from openapi-generator.

jmini avatar jmini commented on May 9, 2024

Input @wing328:

I think that's a breaking change because users using the auto-generated code before will find the app not working after the big dependency change with the new auto-generated code.

I will try to propose something for 4.0.0-SNAPSHOT

from openapi-generator.

mohanaraosv avatar mohanaraosv commented on May 9, 2024

So then it doesn't support OpenAPI 3.0.0 or is it fixed in any other PR.

from openapi-generator.

jmini avatar jmini commented on May 9, 2024

@mohanaraosv:
OpenAPI generator supports OpenAPI v3 (you can use this as input file). Some code generators (like the jaxrs server generator in this case) produce code that rely on Swagger v2 libraries…

As explained in this issue, it is just a matter of fixing the generator.

from openapi-generator.

dummyalias avatar dummyalias commented on May 9, 2024

I have tried updating the version for the jaxrs-* generators, but gave up halfway, because the task became too overwhelming for me. You can see my efforts in the last commits of this branch: https://github.com/dummyalias/openapi-generator/commits/feature/swagger2_jaxrs . The changes are still untested and the following is still missing (as far as I can tell):

  • More adaptations for @ApiParam (e.g. extracting @DefaultValue)
  • Fixing all imports (ideally even avoid wildcards)
  • Fix pom.xml, gradle config, ...

Maybe someone with more experience can use my efforts when fixing this issue.

from openapi-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.