forked from loafle/openapi-generator-original
Updating all samples (except feign) (#5281)
This commit is contained in:
@@ -80,9 +80,9 @@ Class | Method | HTTP request | Description
|
||||
*PetApi* | [**update_pet**](docs/PetApi.md#update_pet) | **PUT** /pet | Update an existing pet
|
||||
*PetApi* | [**update_pet_with_form**](docs/PetApi.md#update_pet_with_form) | **POST** /pet/{petId} | Updates a pet in the store with form data
|
||||
*PetApi* | [**upload_file**](docs/PetApi.md#upload_file) | **POST** /pet/{petId}/uploadImage | uploads an image
|
||||
*StoreApi* | [**delete_order**](docs/StoreApi.md#delete_order) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
|
||||
*StoreApi* | [**delete_order**](docs/StoreApi.md#delete_order) | **DELETE** /store/order/{order_id} | Delete purchase order by ID
|
||||
*StoreApi* | [**get_inventory**](docs/StoreApi.md#get_inventory) | **GET** /store/inventory | Returns pet inventories by status
|
||||
*StoreApi* | [**get_order_by_id**](docs/StoreApi.md#get_order_by_id) | **GET** /store/order/{orderId} | Find purchase order by ID
|
||||
*StoreApi* | [**get_order_by_id**](docs/StoreApi.md#get_order_by_id) | **GET** /store/order/{order_id} | Find purchase order by ID
|
||||
*StoreApi* | [**place_order**](docs/StoreApi.md#place_order) | **POST** /store/order | Place an order for a pet
|
||||
*UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /user | Create user
|
||||
*UserApi* | [**create_users_with_array_input**](docs/UserApi.md#create_users_with_array_input) | **POST** /user/createWithArray | Creates list of users with given input array
|
||||
|
||||
@@ -4,9 +4,9 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**delete_order**](StoreApi.md#delete_order) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
|
||||
[**delete_order**](StoreApi.md#delete_order) | **DELETE** /store/order/{order_id} | Delete purchase order by ID
|
||||
[**get_inventory**](StoreApi.md#get_inventory) | **GET** /store/inventory | Returns pet inventories by status
|
||||
[**get_order_by_id**](StoreApi.md#get_order_by_id) | **GET** /store/order/{orderId} | Find purchase order by ID
|
||||
[**get_order_by_id**](StoreApi.md#get_order_by_id) | **GET** /store/order/{order_id} | Find purchase order by ID
|
||||
[**place_order**](StoreApi.md#place_order) | **POST** /store/order | Place an order for a pet
|
||||
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ class StoreApi(object):
|
||||
|
||||
path_params = {}
|
||||
if 'order_id' in params:
|
||||
path_params['orderId'] = params['order_id']
|
||||
path_params['order_id'] = params['order_id']
|
||||
|
||||
query_params = {}
|
||||
|
||||
@@ -127,7 +127,7 @@ class StoreApi(object):
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
|
||||
return self.api_client.call_api('/store/order/{orderId}', 'DELETE',
|
||||
return self.api_client.call_api('/store/order/{order_id}', 'DELETE',
|
||||
path_params,
|
||||
query_params,
|
||||
header_params,
|
||||
@@ -310,7 +310,7 @@ class StoreApi(object):
|
||||
|
||||
path_params = {}
|
||||
if 'order_id' in params:
|
||||
path_params['orderId'] = params['order_id']
|
||||
path_params['order_id'] = params['order_id']
|
||||
|
||||
query_params = {}
|
||||
|
||||
@@ -327,7 +327,7 @@ class StoreApi(object):
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
|
||||
return self.api_client.call_api('/store/order/{orderId}', 'GET',
|
||||
return self.api_client.call_api('/store/order/{order_id}', 'GET',
|
||||
path_params,
|
||||
query_params,
|
||||
header_params,
|
||||
|
||||
Reference in New Issue
Block a user