forked from loafle/openapi-generator-original
[python] Fixes endpoint overload type hint + required property not in properties (#13790)
* Adds endpoint overload type hint fix to template * Samples regenerated * Adds fix for required property not in properties * Regenerates samples
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# petstore_api.model.object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp
|
||||
|
||||
## Model Type Info
|
||||
Input Type | Accessed Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
||||
|
||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
||||
#### allOf
|
||||
Class Name | Input Type | Accessed Type | Description | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
[ObjectWithOptionalTestProp](ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](ObjectWithOptionalTestProp.md) | |
|
||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | |
|
||||
|
||||
# all_of_1
|
||||
|
||||
## Model Type Info
|
||||
Input Type | Accessed Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
||||
|
||||
### Dictionary Keys
|
||||
Key | Input Type | Accessed Type | Description | Notes
|
||||
------------ | ------------- | ------------- | ------------- | -------------
|
||||
**test** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
||||
**name** | str, | str, | | [optional]
|
||||
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# petstore_api.model.object_with_optional_test_prop.ObjectWithOptionalTestProp
|
||||
|
||||
## Model Type Info
|
||||
Input Type | Accessed Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
||||
|
||||
### Dictionary Keys
|
||||
Key | Input Type | Accessed Type | Description | Notes
|
||||
------------ | ------------- | ------------- | ------------- | -------------
|
||||
**test** | str, | str, | | [optional]
|
||||
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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)
|
||||
|
||||
Reference in New Issue
Block a user