openapi-generator/samples/openapi3/client/petstore/python/docs/ComposedOneOfNumberWithValidations.md
Vikrant Balyan 245aec14eb
[python] Fixes a breakage while deserializing the read-only attributes (#10155)
* fixes a breakage while deserializing the read-only attributes

* updating generated samples

* taking care of the PR comments

* updating samples

* protect against cases where _spec_property_naming may not be present

* updating samples

* adding tests for this issue

* other generated files

* taking care of the comments

* updating the generated samples

Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
2021-08-18 12:01:58 -07:00

786 B

ComposedOneOfNumberWithValidations

this is a model that allows payloads of type object or number

Properties

Name Type Description Notes
color str [optional] if omitted the server will use the default value of "red"
tail bool [optional] [readonly] if omitted the server will use the default value of True
class_name str [optional]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

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