Code Monkey home page Code Monkey logo

Comments (11)

fehguy avatar fehguy commented on May 9, 2024

Howdy,
Yes, the codegen will get out of sync with the swagger spec for certain languages. We recently added file upload support to the scala and objective-c clients, but it will take longer to propagate to other languages. So help supporting them would be great! Pull requests are welcome, and if tested, can be accepted fairly quickly

from swagger-codegen.

deardooley avatar deardooley commented on May 9, 2024

If the code is in github, I'm happy to take a shot at php and java. I might be able to take a stab at python and python3, but no promises.

Rion

On Mar 17, 2013, at 11:52 PM, "Tony Tam" [email protected] wrote:

Howdy,
Yes, the codegen will get out of sync with the swagger spec for certain languages. We recently added file upload support to the scala and objective-c clients, but it will take longer to propagate to other languages. So help supporting them would be great! Pull requests are welcome, and if tested, can be accepted fairly quickly


Reply to this email directly or view it on GitHub.

from swagger-codegen.

fehguy avatar fehguy commented on May 9, 2024

You can find the templates here:

https://github.com/wordnik/swagger-codegen/tree/master/src/main/resources

For instance:

https://github.com/wordnik/swagger-codegen/blob/master/src/main/resources/scala/api.mustache#L26

from swagger-codegen.

xhh avatar xhh commented on May 9, 2024

Form post (form parameters) are still not supported in the Ruby client, right? (see #253)

Do you have any plans on it?

from swagger-codegen.

fehguy avatar fehguy commented on May 9, 2024

yes we'd like to support it. we're working on a major update to the tools now

from swagger-codegen.

xhh avatar xhh commented on May 9, 2024

According to the generated Java SDK, client/ApiInvoker, formParams is only supported in "PUT" requests. It should also be supported in "POST" requests, right?

from swagger-codegen.

xhh avatar xhh commented on May 9, 2024

Form post support is added to Java codegen with #681.

from swagger-codegen.

wing328 avatar wing328 commented on May 9, 2024

Based on my knowledge, this is done for Java, Android, Scala, Ruby, ObjC, Perl, Python, PHP, C#.

from swagger-codegen.

webron avatar webron commented on May 9, 2024

And what would it be missing for? :)

from swagger-codegen.

wing328 avatar wing328 commented on May 9, 2024

Well I can't confirm for C++ (Tizen and Qt5)

from swagger-codegen.

wing328 avatar wing328 commented on May 9, 2024

Most generators have proper support for form parameters. Closing this.

from swagger-codegen.

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.