Gabriel Féron 3df525ee33 Add enum support to rust and skip none option serialization in clients (#2244)
* Add support for enum schemas and properties to the rust generator

Also:
* Skip serializing a field with serde if it's optional and empty
* Fix borrow checker error when using &std::path::Path (should be std::path::PathBuf)
* Add script to generate sample with rust-reqwest
* Regenerate petstore sample for both rust targets
* Remove go code from README.md

* Fix formatting of serde skip_serializing_if attribute
2019-06-07 17:28:43 +01:00

579 B

Pet

Properties

Name Type Description Notes
id i64 [optional]
category *::models::Category [optional]
name String
photo_urls Vec
tags Vec<::models::Tag> [optional]
status String pet status in the store [optional]

[Back to Model list] [Back to API list] [Back to README]