Skip to content

[Rust] Make Rust gen slightly more idiomatic#6247

Merged
wing328 merged 6 commits intoswagger-api:rust_generatorfrom
quodlibetor:rust-gen-slightly-more-idiomatic
Aug 6, 2017
Merged

[Rust] Make Rust gen slightly more idiomatic#6247
wing328 merged 6 commits intoswagger-api:rust_generatorfrom
quodlibetor:rust-gen-slightly-more-idiomatic

Conversation

@quodlibetor
Copy link
Copy Markdown

@quodlibetor quodlibetor commented Aug 5, 2017

Trivial changes to rust generation.

@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Aug 5, 2017

cc @farcaller

@farcaller
Copy link
Copy Markdown
Contributor

LGTM, thanks for cleanups.

@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Aug 6, 2017

@farcaller thanks for reviewing the change.

@quodlibetor thanks for the PR, which has been merged into the branch

@wing328 wing328 merged commit d912e34 into swagger-api:rust_generator Aug 6, 2017
wing328 added a commit that referenced this pull request Aug 6, 2017
* add rust generator (1st release)

* update based on feedback

* fix reserved keyword

* fix string parameter

* Convert String to &str in trait definition

* Only pass pathParams to uri builder

* Fixed the html escaping in return type

* Fixed the hashmap constructor

* Added models into API scope

* removed models subimport, reference from super

* update returntype in method signature

* Fixed the remaining templates inconsistencies

* Fixed issues that floated up in kubernetes swagger file

* add hash support, fix docstring

* fix map parameter, update api.mustache

* use baseName for parameter

* use fully-qualfiied model name

* add rust tests

* fix test cases

* Rust gen slightly more idiomatic (#6247)

* Go -> Rust in README

* Remove leftover go file in rust sample

* rust: Regenerate sample

* rust: Rename *Impl -> *Client

* rust: one-line use line

More in line with common style

* rust: Replace tabs (in java) with 4 spaces

* Added trivial getter implementation (#6249)

* update rust petstore samples
@wing328 wing328 changed the title Rust gen slightly more idiomatic [Rust] Make Rust gen slightly more idiomatic Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants