Add tests for #16217 (#16221)

* add tests for #16217

* add new files
This commit is contained in:
William Cheng
2023-07-31 11:03:36 +08:00
committed by GitHub
parent 77311c3d76
commit 3278eea9a4
28 changed files with 1044 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Creature
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**info** | [**CreatureInfo**](CreatureInfo.md) | |
**type** | **str** | |
## Example
```python
from petstore_api.models.creature import Creature
# TODO update the JSON string below
json = "{}"
# create an instance of Creature from a JSON string
creature_instance = Creature.from_json(json)
# print the JSON string representation of the object
print Creature.to_json()
# convert the object into a dict
creature_dict = creature_instance.to_dict()
# create an instance of Creature from a dict
creature_form_dict = creature.from_dict(creature_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)

View File

@@ -0,0 +1,28 @@
# CreatureInfo
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
## Example
```python
from petstore_api.models.creature_info import CreatureInfo
# TODO update the JSON string below
json = "{}"
# create an instance of CreatureInfo from a JSON string
creature_info_instance = CreatureInfo.from_json(json)
# print the JSON string representation of the object
print CreatureInfo.to_json()
# convert the object into a dict
creature_info_dict = creature_info_instance.to_dict()
# create an instance of CreatureInfo from a dict
creature_info_form_dict = creature_info.from_dict(creature_info_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)

View File

@@ -0,0 +1,28 @@
# Tiger
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**skill** | **str** | | [optional]
## Example
```python
from petstore_api.models.tiger import Tiger
# TODO update the JSON string below
json = "{}"
# create an instance of Tiger from a JSON string
tiger_instance = Tiger.from_json(json)
# print the JSON string representation of the object
print Tiger.to_json()
# convert the object into a dict
tiger_dict = tiger_instance.to_dict()
# create an instance of Tiger from a dict
tiger_form_dict = tiger.from_dict(tiger_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)