forked from loafle/openapi-generator-original
* 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
680 B
680 B
Pet
Properties
Name | Type | Description | Notes |
---|---|---|---|
id | i64 | [optional] [default to null] | |
category | *::models::Category | [optional] [default to null] | |
name | String | [default to null] | |
photo_urls | Vec | [default to null] | |
tags | Vec<::models::Tag> | [optional] [default to null] | |
status | String | pet status in the store | [optional] [default to null] |