Git Product home page Git Product logo

Comments (5)

MikeRalphson avatar MikeRalphson commented on June 15, 2024 1

There may be ideas you can take from https://github.com/Mermade/openapi-codegen/blob/master/lib/orange/downconvert.js - which is derived from https://github.com/Orange-OpenSource/angular-swagger-ui/blob/master/src/scripts/modules/openapi3-converter.js

License is MIT.

from swagger-codegen-generators.

shuoli84 avatar shuoli84 commented on June 15, 2024 1

Update: Successfully generated python and swift client using this approach. 💃💃💃

from swagger-codegen-generators.

shuoli84 avatar shuoli84 commented on June 15, 2024

In case someone have problem with running node, here is a python version:
https://gist.github.com/shuoli84/3e61b3f1af3ed0c71282462b317fa2ea

from swagger-codegen-generators.

jmini avatar jmini commented on June 15, 2024

I have also some java code to do a v3 to v2 conversion somewhere, but it might be incomplete. If someone is interested, just ask, I can publish it somewhere.

@shuoli84: I could migrate the codegen to v3, but then I will not be able to juge if the result is correct or not. Would be interested in doing some tests and providing me some help if I migrate the codegen to v3?

from swagger-codegen-generators.

shuoli84 avatar shuoli84 commented on June 15, 2024

@jmini verification of correctness indeed is one of the most important thing. I guess a v3 -> v2 -> v3'2 then compare v3'2 and v3 could be a start.

from swagger-codegen-generators.

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.