mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 02:46:09 +00:00
[python] Some cleanup of samples folder (#17127)
* Delete sample folders of discontinued clients * Remove duplicate python-flask server sample The python-flask sample actually lives in samples/server/petstore/python-flask. * Move hand-written test to "tests" folder Now, "test" only contains generated stubs and all hand-written tests are in "tests". * Delete left-over files in Python samples These are not created by the generators (anymore) and not hand-written for testing. * Regenerate test file to fix import error
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
# List
|
||||
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var_123_list** | **str** | | [optional]
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from petstore_api.models.list import List
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of List from a JSON string
|
||||
list_instance = List.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print List.to_json()
|
||||
|
||||
# convert the object into a dict
|
||||
list_dict = list_instance.to_dict()
|
||||
# create an instance of List from a dict
|
||||
list_form_dict = list.from_dict(list_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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user