update samples

This commit is contained in:
William Cheng
2023-11-19 17:36:25 +08:00
parent 97704841c5
commit 8e36014ae6
214 changed files with 608 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ Test binary (gif) response body
### Example
```python
import time
import os
@@ -54,6 +55,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
This endpoint does not need any parameter.
### Return type
@@ -70,6 +72,7 @@ No authorization required
- **Accept**: image/gif
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -85,6 +88,7 @@ Test body parameter(s)
### Example
```python
import time
import os
@@ -118,6 +122,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | **bytearray**| | [optional]
@@ -136,6 +141,7 @@ No authorization required
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -151,6 +157,7 @@ Test array of binary in multipart mime
### Example
```python
import time
import os
@@ -184,6 +191,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**files** | **List[bytearray]**| |
@@ -202,6 +210,7 @@ No authorization required
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -217,6 +226,7 @@ Test body parameter(s)
### Example
```python
import time
import os
@@ -251,6 +261,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
@@ -269,6 +280,7 @@ No authorization required
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -284,6 +296,7 @@ Test free form object
### Example
```python
import time
import os
@@ -317,6 +330,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | **object**| Free form object | [optional]
@@ -335,6 +349,7 @@ No authorization required
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -350,6 +365,7 @@ Test body parameter(s)
### Example
```python
import time
import os
@@ -384,6 +400,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
@@ -402,6 +419,7 @@ No authorization required
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -417,6 +435,7 @@ Test empty response body
### Example
```python
import time
import os
@@ -451,6 +470,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
@@ -469,6 +489,7 @@ No authorization required
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |
@@ -484,6 +505,7 @@ Test empty json (request body)
### Example
```python
import time
import os
@@ -518,6 +540,7 @@ with openapi_client.ApiClient(configuration) as api_client:
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**tag** | [**Tag**](Tag.md)| Tag object | [optional]
@@ -536,6 +559,7 @@ No authorization required
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful operation | - |