Adds not to CodegenComposedSchemas and uses it in python-exp (#12146)

Updates docs
This commit is contained in:
Justin Black
2022-04-17 09:36:09 -07:00
committed by GitHub
parent 84167ca3db
commit e2e7609bac
189 changed files with 1039 additions and 58 deletions

View File

@@ -0,0 +1,9 @@
# AnyTypeNotString
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -411,6 +411,7 @@ with petstore_api.ApiClient(configuration) as api_client:
object_with_no_declared_props=dict(),
object_with_no_declared_props_nullable=dict(),
any_type_prop=None,
any_type_except_null_prop=None,
any_type_prop_nullable=None,
)
try:

View File

@@ -14,6 +14,7 @@ Name | Type | Description | Notes
**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** | **object** | 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]

View File

@@ -51,6 +51,7 @@ with petstore_api.ApiClient(configuration) as api_client:
object_with_no_declared_props=dict(),
object_with_no_declared_props_nullable=dict(),
any_type_prop=None,
any_type_except_null_prop=None,
any_type_prop_nullable=None,
)
try:
@@ -139,6 +140,7 @@ with petstore_api.ApiClient(configuration) as api_client:
object_with_no_declared_props=dict(),
object_with_no_declared_props_nullable=dict(),
any_type_prop=None,
any_type_except_null_prop=None,
any_type_prop_nullable=None,
)
]
@@ -228,6 +230,7 @@ with petstore_api.ApiClient(configuration) as api_client:
object_with_no_declared_props=dict(),
object_with_no_declared_props_nullable=dict(),
any_type_prop=None,
any_type_except_null_prop=None,
any_type_prop_nullable=None,
)
]
@@ -708,6 +711,7 @@ with petstore_api.ApiClient(configuration) as api_client:
object_with_no_declared_props=dict(),
object_with_no_declared_props_nullable=dict(),
any_type_prop=None,
any_type_except_null_prop=None,
any_type_prop_nullable=None,
)
try: