Justin Black 539ec23298 [python-client] Add model default values (#1776)
* Adds two models to the v2.0 spec, uses examples as defaults in python client

* Adds array default and type_holder_default and type_holder_example tests

* Re-generated python security client with ./bin/security/python-petstore.sh

* Changes comment text, rebased master

* Updates client + server samples

* Adds missing samples updates

* Changes python client to look for true or false with booleans in toDefaultValue

* Changes boolean casting to use Boolean.valueOf

* Adds deserialization fix for python tests

* Changes Mock to namedtuple in python deserialization tests

* Actually remove unittest.mock
2019-01-09 11:18:35 +08:00

571 B

Pet

Properties

Name Type Description Notes
id int [optional]
category Category [optional]
name str [default to 'doggie']
photo_urls list[str]
tags list[Tag] [optional]
status str pet status in the store [optional]

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