Swagger parser update: 2.0.8-OpenAPITools.org-1 (#1721)

* Update Swagger-Parser Version

* Update samples

* surpress javadoc warning

* fix TS tests

* Set version to 2.0.8-OpenAPITools.org-1
This commit is contained in:
Jérémie Bresson
2018-12-22 11:12:08 +01:00
committed by William Cheng
parent 43abd61144
commit a7dfc650b6
715 changed files with 6588 additions and 6470 deletions

View File

@@ -27,7 +27,7 @@ services:
```
## **addPet**
> addPet($pet)
> addPet($body)
Add a new pet to the store
@@ -56,7 +56,7 @@ class PetApi implements PetApiInterface
/**
* Implementation of PetApiInterface#addPet
*/
public function addPet(Pet $pet)
public function addPet(Pet $body)
{
// Implement the operation ...
}
@@ -69,7 +69,7 @@ class PetApi implements PetApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**OpenAPI\Server\Model\Pet**](../Model/Pet.md)| Pet object that needs to be added to the store |
**body** | [**OpenAPI\Server\Model\Pet**](../Model/Pet.md)| Pet object that needs to be added to the store |
### Return type
@@ -334,7 +334,7 @@ Name | Type | Description | Notes
[[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)
## **updatePet**
> updatePet($pet)
> updatePet($body)
Update an existing pet
@@ -363,7 +363,7 @@ class PetApi implements PetApiInterface
/**
* Implementation of PetApiInterface#updatePet
*/
public function updatePet(Pet $pet)
public function updatePet(Pet $body)
{
// Implement the operation ...
}
@@ -376,7 +376,7 @@ class PetApi implements PetApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**OpenAPI\Server\Model\Pet**](../Model/Pet.md)| Pet object that needs to be added to the store |
**body** | [**OpenAPI\Server\Model\Pet**](../Model/Pet.md)| Pet object that needs to be added to the store |
### Return type

View File

@@ -190,7 +190,7 @@ No authorization required
[[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)
## **placeOrder**
> OpenAPI\Server\Model\Order placeOrder($order)
> OpenAPI\Server\Model\Order placeOrder($body)
Place an order for a pet
@@ -211,7 +211,7 @@ class StoreApi implements StoreApiInterface
/**
* Implementation of StoreApiInterface#placeOrder
*/
public function placeOrder(Order $order)
public function placeOrder(Order $body)
{
// Implement the operation ...
}
@@ -224,7 +224,7 @@ class StoreApi implements StoreApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**order** | [**OpenAPI\Server\Model\Order**](../Model/Order.md)| order placed for purchasing the pet |
**body** | [**OpenAPI\Server\Model\Order**](../Model/Order.md)| order placed for purchasing the pet |
### Return type

View File

@@ -27,7 +27,7 @@ services:
```
## **createUser**
> createUser($user)
> createUser($body)
Create user
@@ -50,7 +50,7 @@ class UserApi implements UserApiInterface
/**
* Implementation of UserApiInterface#createUser
*/
public function createUser(User $user)
public function createUser(User $body)
{
// Implement the operation ...
}
@@ -63,7 +63,7 @@ class UserApi implements UserApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Created user object |
**body** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Created user object |
### Return type
@@ -81,7 +81,7 @@ No authorization required
[[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)
## **createUsersWithArrayInput**
> createUsersWithArrayInput($user)
> createUsersWithArrayInput($body)
Creates list of users with given input array
@@ -102,7 +102,7 @@ class UserApi implements UserApiInterface
/**
* Implementation of UserApiInterface#createUsersWithArrayInput
*/
public function createUsersWithArrayInput(array $user)
public function createUsersWithArrayInput(array $body)
{
// Implement the operation ...
}
@@ -115,7 +115,7 @@ class UserApi implements UserApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**OpenAPI\Server\Model\User**](../Model/array.md)| List of user object |
**body** | [**OpenAPI\Server\Model\User**](../Model/array.md)| List of user object |
### Return type
@@ -133,7 +133,7 @@ No authorization required
[[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)
## **createUsersWithListInput**
> createUsersWithListInput($user)
> createUsersWithListInput($body)
Creates list of users with given input array
@@ -154,7 +154,7 @@ class UserApi implements UserApiInterface
/**
* Implementation of UserApiInterface#createUsersWithListInput
*/
public function createUsersWithListInput(array $user)
public function createUsersWithListInput(array $body)
{
// Implement the operation ...
}
@@ -167,7 +167,7 @@ class UserApi implements UserApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**OpenAPI\Server\Model\User**](../Model/array.md)| List of user object |
**body** | [**OpenAPI\Server\Model\User**](../Model/array.md)| List of user object |
### Return type
@@ -393,7 +393,7 @@ No authorization required
[[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)
## **updateUser**
> updateUser($username, $user)
> updateUser($username, $body)
Updated user
@@ -416,7 +416,7 @@ class UserApi implements UserApiInterface
/**
* Implementation of UserApiInterface#updateUser
*/
public function updateUser($username, User $user)
public function updateUser($username, User $body)
{
// Implement the operation ...
}
@@ -430,7 +430,7 @@ class UserApi implements UserApiInterface
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **string**| name that need to be deleted |
**user** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Updated user object |
**body** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Updated user object |
### Return type