[PYTHON] Fix for failing to lookup discriminator value using AllOf and discriminator (#18498)

* fix issue 18495

* add tests and update samples

* update samples
This commit is contained in:
Zishun (Zack) Wei
2024-04-30 14:21:20 +08:00
committed by GitHub
parent bd02e65f88
commit 81fab15a33
56 changed files with 2185 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
# PrimitiveString
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | | [optional]
## Example
```python
from petstore_api.models.primitive_string import PrimitiveString
# TODO update the JSON string below
json = "{}"
# create an instance of PrimitiveString from a JSON string
primitive_string_instance = PrimitiveString.from_json(json)
# print the JSON string representation of the object
print PrimitiveString.to_json()
# convert the object into a dict
primitive_string_dict = primitive_string_instance.to_dict()
# create an instance of PrimitiveString from a dict
primitive_string_from_dict = PrimitiveString.from_dict(primitive_string_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)