Skip to content

Commit efdde9b

Browse files
committed
added php sample with current version
1 parent bd0d4cd commit efdde9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1841
-68
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.16
1+
3.0.17-SNAPSHOT

samples/composed/client/petstore/php/SwaggerClient-php/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Class | Method | HTTP request | Description
108108
## Documentation For Models
109109

110110
- [AllPetsResponse](docs/Model/AllPetsResponse.md)
111+
- [AnyOfbody1ParrotsItems](docs/Model/AnyOfbody1ParrotsItems.md)
111112
- [AnyOfbody2](docs/Model/AnyOfbody2.md)
112113
- [ApiResponse](docs/Model/ApiResponse.md)
113114
- [Body](docs/Model/Body.md)
@@ -120,9 +121,13 @@ Class | Method | HTTP request | Description
120121
- [InlineResponse2001](docs/Model/InlineResponse2001.md)
121122
- [Macaw](docs/Model/Macaw.md)
122123
- [OneOfAllPetsResponseItems](docs/Model/OneOfAllPetsResponseItems.md)
124+
- [OneOfPartMasterDestination](docs/Model/OneOfPartMasterDestination.md)
123125
- [OneOfPartMasterOrigin](docs/Model/OneOfPartMasterOrigin.md)
126+
- [OneOfPetPartItems](docs/Model/OneOfPetPartItems.md)
124127
- [OneOfPup](docs/Model/OneOfPup.md)
125128
- [OneOfinlineResponse2001](docs/Model/OneOfinlineResponse2001.md)
129+
- [OneOfinlineResponse200ParrotsItems](docs/Model/OneOfinlineResponse200ParrotsItems.md)
130+
- [OneOfvalMembersValMemberItems](docs/Model/OneOfvalMembersValMemberItems.md)
126131
- [Order](docs/Model/Order.md)
127132
- [Parakeet](docs/Model/Parakeet.md)
128133
- [PartFour](docs/Model/PartFour.md)

samples/composed/client/petstore/php/SwaggerClient-php/docs/Api/PetApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void (empty response body)
167167
[[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)
168168

169169
# **feedPet**
170-
> feedPet($body, $token, $pet_type, $status, $pet_id)
170+
> feedPet($body, $token, $pet_type, $status, $pet_id, $session_id)
171171
172172
Find pet by ID
173173

@@ -188,9 +188,10 @@ $token = "token_example"; // string | status
188188
$pet_type = "pet_type_example"; // string | type of food
189189
$status = "status_example"; // string | status
190190
$pet_id = 789; // int | ID of pet to return
191+
$session_id = "session_id_example"; // string | session id
191192

192193
try {
193-
$apiInstance->feedPet($body, $token, $pet_type, $status, $pet_id);
194+
$apiInstance->feedPet($body, $token, $pet_type, $status, $pet_id, $session_id);
194195
} catch (Exception $e) {
195196
echo 'Exception when calling PetApi->feedPet: ', $e->getMessage(), PHP_EOL;
196197
}
@@ -206,6 +207,7 @@ Name | Type | Description | Notes
206207
**pet_type** | **string**| type of food |
207208
**status** | **string**| status |
208209
**pet_id** | **int**| ID of pet to return |
210+
**session_id** | **string**| session id |
209211

210212
### Return type
211213

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AnyOfbody1ParrotsItems
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+

samples/composed/client/petstore/php/SwaggerClient-php/docs/Model/Body1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**parrots** | [**null[]**](.md) | | [optional]
6+
**parrots** | [**\Swagger\Client\Model\AnyOfbody1ParrotsItems[]**](.md) | | [optional]
77

88
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
99

samples/composed/client/petstore/php/SwaggerClient-php/docs/Model/InlineResponse200.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**parrots** | [**null[]**](.md) | | [optional]
6+
**parrots** | [**\Swagger\Client\Model\OneOfinlineResponse200ParrotsItems[]**](.md) | | [optional]
77

88
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
99

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# OneOfPartMasterDestination
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# OneOfPetPartItems
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# OneOfinlineResponse200ParrotsItems
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# OneOfvalMembersValMemberItems
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+

0 commit comments

Comments
 (0)