Skip to content

[Rust] Added trivial getter implementation#6249

Merged
wing328 merged 1 commit intoswagger-api:rust_generatorfrom
farcaller:rust_generator
Aug 6, 2017
Merged

[Rust] Added trivial getter implementation#6249
wing328 merged 1 commit intoswagger-api:rust_generatorfrom
farcaller:rust_generator

Conversation

@farcaller
Copy link
Copy Markdown
Contributor

This can be improved further by turning ref Options into Options with refs and passing trivial types by copy.

@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Aug 6, 2017

This can be improved further by turning ref Options into Options with refs and passing trivial types by copy.

will add this to the enhancement list.

@wing328 wing328 added this to the v2.3.0 milestone Aug 6, 2017
@wing328 wing328 merged commit 74a1660 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 Added trivial getter implementation [Rust] Added trivial getter implementation Aug 6, 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.

2 participants