Merge remote-tracking branch 'origin/3.4.x' into 4.0.x

This commit is contained in:
William Cheng
2018-10-16 16:08:11 +08:00
3597 changed files with 125920 additions and 21130 deletions

View File

@@ -88,8 +88,8 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**petId** | **kotlin.Long**| Pet id to delete |
**apiKey** | **kotlin.String**| | [optional]
**petId** | **kotlin.Long**| Pet id to delete | [default to null]
**apiKey** | **kotlin.String**| | [optional] [default to null]
### Return type
@@ -136,7 +136,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**status** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
**status** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [default to null] [enum: available, pending, sold]
### Return type
@@ -183,7 +183,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**tags** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Tags to filter by |
**tags** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Tags to filter by | [default to null]
### Return type
@@ -230,7 +230,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**petId** | **kotlin.Long**| ID of pet to return |
**petId** | **kotlin.Long**| ID of pet to return | [default to null]
### Return type
@@ -320,7 +320,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**petId** | **kotlin.Long**| ID of pet that needs to be updated |
**petId** | **kotlin.Long**| ID of pet that needs to be updated | [default to null]
**name** | **kotlin.String**| Updated name of the pet | [optional] [default to null]
**status** | **kotlin.String**| Updated status of the pet | [optional] [default to null]
@@ -369,7 +369,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**petId** | **kotlin.Long**| ID of pet to update |
**petId** | **kotlin.Long**| ID of pet to update | [default to null]
**additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] [default to null]
**file** | **java.io.File**| file to upload | [optional] [default to null]

View File

@@ -41,7 +41,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**orderId** | **kotlin.String**| ID of the order that needs to be deleted |
**orderId** | **kotlin.String**| ID of the order that needs to be deleted | [default to null]
### Return type
@@ -131,7 +131,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
**orderId** | **kotlin.Long**| ID of pet that needs to be fetched | [default to null]
### Return type

View File

@@ -179,7 +179,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **kotlin.String**| The name that needs to be deleted |
**username** | **kotlin.String**| The name that needs to be deleted | [default to null]
### Return type
@@ -224,7 +224,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
**username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | [default to null]
### Return type
@@ -270,8 +270,8 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **kotlin.String**| The user name for login |
**password** | **kotlin.String**| The password for login in clear text |
**username** | **kotlin.String**| The user name for login | [default to null]
**password** | **kotlin.String**| The password for login in clear text | [default to null]
### Return type
@@ -358,7 +358,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **kotlin.String**| name that need to be deleted |
**username** | **kotlin.String**| name that need to be deleted | [default to null]
**user** | [**User**](User.md)| Updated user object |
### Return type

View File

@@ -53,7 +53,7 @@ class PetApi(basePath: kotlin.String = "http://petstore.swagger.io/v2") : ApiCli
* Deletes a pet
*
* @param petId Pet id to delete
* @param apiKey (optional)
* @param apiKey (optional, default to null)
* @return void
*/
fun deletePet(petId: kotlin.Long, apiKey: kotlin.String) : Unit {