Merge remote-tracking branch 'origin/master' into 2.3.0

This commit is contained in:
wing328
2017-04-03 14:54:50 +08:00
91 changed files with 282 additions and 262 deletions

View File

@@ -4,9 +4,9 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{order_id} | Delete purchase order by ID
[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{order_id} | Find purchase order by ID
[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet

View File

@@ -24,9 +24,9 @@ public interface StoreApi {
* @param orderId ID of the order that needs to be deleted (required)
* @return Call<Void>
*/
@DELETE("store/order/{orderId}")
@DELETE("store/order/{order_id}")
Call<Void> deleteOrder(
@retrofit2.http.Path("orderId") String orderId
@retrofit2.http.Path("order_id") String orderId
);
/**
@@ -44,9 +44,9 @@ public interface StoreApi {
* @param orderId ID of pet that needs to be fetched (required)
* @return Call&lt;Order&gt;
*/
@GET("store/order/{orderId}")
@GET("store/order/{order_id}")
Call<Order> getOrderById(
@retrofit2.http.Path("orderId") Long orderId
@retrofit2.http.Path("order_id") Long orderId
);
/**