forked from loafle/openapi-generator-original
[PHP][Symfony] Further enhancements (#7001)
* Further enchancements for PHP-Symfony. Fixes issues described in #6999 * Ran shell script to update petstore sample
This commit is contained in:
committed by
William Cheng
parent
a565a94a06
commit
5d59dd10ec
@@ -152,7 +152,7 @@ void (empty response body)
|
||||
[[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)
|
||||
|
||||
## **findPetsByStatus**
|
||||
> Swagger\Server\Model\Pet[] findPetsByStatus($status)
|
||||
> Swagger\Server\Model\Pet findPetsByStatus($status)
|
||||
|
||||
Finds Pets by status
|
||||
|
||||
@@ -196,11 +196,11 @@ class PetApi implements PetApiInterface
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**status** | [**string[]**](../Model/string.md)| Status values that need to be considered for filter |
|
||||
**status** | [**string**](../Model/string.md)| Status values that need to be considered for filter |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Swagger\Server\Model\Pet[]**](../Model/Pet.md)
|
||||
[**Swagger\Server\Model\Pet**](../Model/Pet.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
@@ -214,7 +214,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)
|
||||
|
||||
## **findPetsByTags**
|
||||
> Swagger\Server\Model\Pet[] findPetsByTags($tags)
|
||||
> Swagger\Server\Model\Pet findPetsByTags($tags)
|
||||
|
||||
Finds Pets by tags
|
||||
|
||||
@@ -258,11 +258,11 @@ class PetApi implements PetApiInterface
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**tags** | [**string[]**](../Model/string.md)| Tags to filter by |
|
||||
**tags** | [**string**](../Model/string.md)| Tags to filter by |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Swagger\Server\Model\Pet[]**](../Model/Pet.md)
|
||||
[**Swagger\Server\Model\Pet**](../Model/Pet.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
||||
@@ -77,7 +77,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)
|
||||
|
||||
## **getInventory**
|
||||
> int[] getInventory()
|
||||
> int getInventory()
|
||||
|
||||
Returns pet inventories by status
|
||||
|
||||
@@ -122,7 +122,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
**int[]**
|
||||
**int**
|
||||
|
||||
### Authorization
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ class UserApi implements UserApiInterface
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**Swagger\Server\Model\User[]**](../Model/User.md)| List of user object |
|
||||
**body** | [**Swagger\Server\Model\User**](../Model/User.md)| List of user object |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -171,7 +171,7 @@ class UserApi implements UserApiInterface
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**Swagger\Server\Model\User[]**](../Model/User.md)| List of user object |
|
||||
**body** | [**Swagger\Server\Model\User**](../Model/User.md)| List of user object |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
||||
**id** | **int** | | [optional]
|
||||
**category** | [**Swagger\Server\Model\Category**](Category.md) | | [optional]
|
||||
**name** | **string** | |
|
||||
**photoUrls** | **string[]** | |
|
||||
**tags** | [**Swagger\Server\Model\Tag[]**](Tag.md) | | [optional]
|
||||
**photoUrls** | **string** | |
|
||||
**tags** | [**Swagger\Server\Model\Tag**](Tag.md) | | [optional]
|
||||
**status** | **string** | pet status in the store | [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