mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 06:46:12 +00:00
./bin/python-petstore.sh after enhancement of content-type header parsing for vnd headers
note: looks like this was not run for some time, so it has changes from other commits too
This commit is contained in:
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
||||
**array_of_string** | **list[str]** | | [optional]
|
||||
**array_array_of_integer** | **list[list[int]]** | | [optional]
|
||||
**array_array_of_model** | **list[list[ReadOnlyFirst]]** | | [optional]
|
||||
**array_of_enum** | **list[str]** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
@@ -4,55 +4,10 @@ All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**test_code_inject__end**](FakeApi.md#test_code_inject__end) | **PUT** /fake | To test code injection */ =end
|
||||
[**test_endpoint_parameters**](FakeApi.md#test_endpoint_parameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
[**test_enum_query_parameters**](FakeApi.md#test_enum_query_parameters) | **GET** /fake | To test enum query parameters
|
||||
|
||||
|
||||
# **test_code_inject__end**
|
||||
> test_code_inject__end(test_code_inject__end=test_code_inject__end)
|
||||
|
||||
To test code injection */ =end
|
||||
|
||||
### Example
|
||||
```python
|
||||
import time
|
||||
import petstore_api
|
||||
from petstore_api.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = petstore_api.FakeApi()
|
||||
test_code_inject__end = 'test_code_inject__end_example' # str | To test code injection */ =end (optional)
|
||||
|
||||
try:
|
||||
# To test code injection */ =end
|
||||
api_instance.test_code_inject__end(test_code_inject__end=test_code_inject__end)
|
||||
except ApiException as e:
|
||||
print "Exception when calling FakeApi->test_code_inject__end: %s\n" % e
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**test_code_inject__end** | **str**| To test code injection */ =end | [optional]
|
||||
|
||||
### Return type
|
||||
|
||||
void (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, */ =end));(phpinfo(
|
||||
- **Accept**: application/json, */ end
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
# **test_endpoint_parameters**
|
||||
> test_endpoint_parameters(number, double, string, byte, integer=integer, int32=int32, int64=int64, float=float, binary=binary, date=date, date_time=date_time, password=password)
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**map_map_of_string** | [**dict(str, dict(str, str))**](dict.md) | | [optional]
|
||||
**map_map_of_enum** | [**dict(str, dict(str, str))**](dict.md) | | [optional]
|
||||
**map_of_enum_string** | **dict(str, str)** | | [optional]
|
||||
|
||||
[[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