-
Notifications
You must be signed in to change notification settings - Fork 6k
Form post support in generated clients #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Howdy, |
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:
|
You can find the templates here: https://github.com/wordnik/swagger-codegen/tree/master/src/main/resources For instance: |
Form post (form parameters) are still not supported in the Ruby client, right? (see #253) Do you have any plans on it? |
yes we'd like to support it. we're working on a major update to the tools now |
According to the generated Java SDK, client/ApiInvoker, |
Form post support is added to Java codegen with #681. |
Based on my knowledge, this is done for Java, Android, Scala, Ruby, ObjC, Perl, Python, PHP, C#. |
And what would it be missing for? :) |
Well I can't confirm for C++ (Tizen and Qt5) |
Most generators have proper support for form parameters. Closing this. |
Migrate {{#isInteger}}, {{#isLong}}, {{#isDouble}}, {{#isFloat}}
Thank you for the great work on this project. I was implementing this on our api earlier today and I noticed a discrepancy in the swagger-ui and swagger-codegen projects. Support for defining and posting HTML forms was recently added to swagger-core and swagger-ui. I'm wondering if it was just a matter of time before post form support makes its way into swagger-codegen or if it is not on the roadmap. If there are not plans to add it anytime soon, I'm happy to send a pull request with the changes I made to support form submission in php and java. I'm afraid someone with other language expertise would need to check out the mustache templates in other languages. There's also the chance that I'm completely missing something conceptually. If so, please let me know. Thanks again for the great work.
The text was updated successfully, but these errors were encountered: