Justin Black c456de40c0
Adds ability to turn inline model resolver on or off and uses it in python-experimental (#12198)
* Adds getUseInlineModelResolver and uses it

* Regenerates python-exp samples

* Regenerates docs

* Samples regenerated

* Moves codegenProperty.complexType setting

* Fixes python-experimental tests

* Reverts vesion file change

* Improves type setting code for python-exp

* Fixes AnyType type hint

* Samples regenerated
2022-04-25 21:44:05 -07:00

2.2 KiB

User

Properties

Name Type Description Notes
id int [optional]
username str [optional]
firstName str [optional]
lastName str [optional]
email str [optional]
password str [optional]
phone str [optional]
userStatus int User Status [optional]
objectWithNoDeclaredProps {str: (bool, date, datetime, dict, float, int, list, str, none_type)} test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. [optional]
objectWithNoDeclaredPropsNullable {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. [optional]
anyTypeProp bool, date, datetime, dict, float, int, list, str, none_type test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 [optional]
anyTypeExceptNullProp bool, date, datetime, dict, float, int, list, str, none_type any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. [optional]
anyTypePropNullable bool, date, datetime, dict, float, int, list, str, none_type test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. [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]