mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-06 01:26:12 +00:00
[Python] fixes __setitem__ throwing an error for composed instance (#10197)
* adding a test for issues 10083 * commiting the generated files * fix for the setattr issue * commit generated files Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**class_name** | **str** | |
|
||||
**breed** | **str** | | [optional]
|
||||
**legs** | [**Legs**](Legs.md) | | [optional]
|
||||
**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
|
||||
**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]
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**breed** | **str** | | [optional]
|
||||
**legs** | [**Legs**](Legs.md) | | [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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
13
samples/openapi3/client/petstore/python/docs/Legs.md
Normal file
13
samples/openapi3/client/petstore/python/docs/Legs.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Legs
|
||||
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**legs** | **str** | | defaults to "4"
|
||||
**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]](../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