Thomas Hervé 60dcf8613f
Don't include read-only properties in Python examples. (#9252)
* Don't include read-only properties in Python examples.

When using a schema with read-only fields as API inputs, Python
generates examples for those: this excludes them.

* Fix tests
2021-04-14 11:43:28 -07:00

675 B

ObjectModelWithRefProps

a model that includes properties which should stay primitive (String + Boolean) and one which is defined as a class, NumberWithValidations

Properties

Name Type Description Notes
my_number NumberWithValidations [optional]
my_readonly Readonly [optional]
my_string str [optional]
my_boolean bool [optional]

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