mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-20 18:49:07 +00:00
[python-nextgen] better datetime support in parameters (#14621)
* add allowStringInDateTimeParameters option * add tests * add files * add tests for datetime query parameters * fix file anme * trigger build * fix pytest * install test requirement * trigger build * break build * add new files * fix Locale.ROOT * update doc
This commit is contained in:
29
samples/client/echo_api/python-nextgen/docs/Query.md
Normal file
29
samples/client/echo_api/python-nextgen/docs/Query.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Query
|
||||
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **int** | Query | [optional]
|
||||
**outcomes** | **List[str]** | | [optional] [default to ["SUCCESS","FAILURE"]]
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from openapi_client.models.query import Query
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of Query from a JSON string
|
||||
query_instance = Query.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print Query.to_json()
|
||||
|
||||
# convert the object into a dict
|
||||
query_dict = query_instance.to_dict()
|
||||
# create an instance of Query from a dict
|
||||
query_form_dict = query.from_dict(query_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