Skip to content
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

[Rust] Enhancements to Rust generator #6250

Open
1 of 6 tasks
wing328 opened this issue Aug 6, 2017 · 2 comments
Open
1 of 6 tasks

[Rust] Enhancements to Rust generator #6250

wing328 opened this issue Aug 6, 2017 · 2 comments

Comments

@wing328
Copy link
Contributor

wing328 commented Aug 6, 2017

Description

Here is a list of enhancements I can think of for the Rust client generator:

  • Add "docstring" to methods in API and model files for documenting the usage
  • Add support for form parameters
  • Add support for file upload (type: file)
  • Add validation for parameters and model properties
  • Make timeout (http) configurable
  • Implement 'object' type conversion ([Rust] Implement 'object' type conversion #6846)

If anyone has any feedback/suggestion, please reply to let us know.

Swagger-codegen version

Latest master

Command line used for generation
mvn clean install
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate  -t modules/swagger-codegen/src/main/resources/rust -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l rust -o samples/client/petstore/rust
Related issues/PRs

#6105

If anyone wants to work on these enhancements, please reply to let us know and we'll show you some good starting points.

@wing328
Copy link
Contributor Author

wing328 commented Aug 6, 2017

Minor fix for Windows platform via cc848a1

@wing328
Copy link
Contributor Author

wing328 commented Nov 1, 2017

Added "Implement 'object' type conversion" via #6846

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant