Add tests for enum names with dots in python cilents (#21374)

* add tests for enum names with dot

* remove file

* apply same fix to python pydantic v1

* update test
This commit is contained in:
William Cheng
2025-06-04 16:18:10 +08:00
committed by GitHub
parent 9d70de44d6
commit 4cfc8eff00
43 changed files with 1087 additions and 33 deletions

View File

@@ -0,0 +1,28 @@
# PonySizes
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | [**Type**](Type.md) | | [optional]
## Example
```python
from petstore_api.models.pony_sizes import PonySizes
# TODO update the JSON string below
json = "{}"
# create an instance of PonySizes from a JSON string
pony_sizes_instance = PonySizes.from_json(json)
# print the JSON string representation of the object
print PonySizes.to_json()
# convert the object into a dict
pony_sizes_dict = pony_sizes_instance.to_dict()
# create an instance of PonySizes from a dict
pony_sizes_from_dict = PonySizes.from_dict(pony_sizes_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,16 @@
# Type
## Enum
* `NUMBER_2_DOT_0` (value: `2.0`)
* `NUMBER_1_DOT_0` (value: `1.0`)
* `NUMBER_0_DOT_5` (value: `0.5`)
* `NUMBER_0_DOT_25` (value: `0.25`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)