Skip to content

Commit ea9b4ae

Browse files
committed
- runned ensure up to date.
1 parent d87cff8 commit ea9b4ae

File tree

33 files changed

+449
-446
lines changed

33 files changed

+449
-446
lines changed

samples/client/petstore/R/.openapi-generator/FILES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.travis.yml
44
DESCRIPTION
55
NAMESPACE
6+
README.md
67
R/api_client.R
78
R/api_response.R
89
R/category.R
@@ -14,7 +15,6 @@ R/store_api.R
1415
R/tag.R
1516
R/user.R
1617
R/user_api.R
17-
README.md
1818
docs/Category.md
1919
docs/ModelApiResponse.md
2020
docs/Order.md

samples/client/petstore/php/OpenAPIClient-php/.openapi-generator/FILES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ docs/Model/SpecialModelName.md
5555
docs/Model/Tag.md
5656
docs/Model/User.md
5757
git_push.sh
58+
lib/ApiException.php
5859
lib/Api/AnotherFakeApi.php
5960
lib/Api/DefaultApi.php
6061
lib/Api/FakeApi.php
6162
lib/Api/FakeClassnameTags123Api.php
6263
lib/Api/PetApi.php
6364
lib/Api/StoreApi.php
6465
lib/Api/UserApi.php
65-
lib/ApiException.php
6666
lib/Configuration.php
6767
lib/HeaderSelector.php
6868
lib/Model/AdditionalPropertiesClass.php

samples/client/petstore/php/OpenAPIClient-php/phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</testsuites>
1414
<filter>
1515
<whitelist processUncoveredFilesFromWhitelist="true">
16-
<directory suffix=".php">./lib/Api</directory>
17-
<directory suffix=".php">./lib/Model</directory>
16+
<directory suffix=".php">./lib\/Api</directory>
17+
<directory suffix=".php">./lib\/Model</directory>
1818
</whitelist>
1919
</filter>
2020
<php>

samples/client/petstore/powershell/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ Class | Method | HTTP request | Description
7979

8080
## Documentation for Models
8181

82-
- [PSPetstore/Model.ApiResponse](docs/ApiResponse.md)
83-
- [PSPetstore/Model.Category](docs/Category.md)
84-
- [PSPetstore/Model.Order](docs/Order.md)
85-
- [PSPetstore/Model.Pet](docs/Pet.md)
86-
- [PSPetstore/Model.Tag](docs/Tag.md)
87-
- [PSPetstore/Model.User](docs/User.md)
82+
- [PSPetstore\Model.ApiResponse](docs/ApiResponse.md)
83+
- [PSPetstore\Model.Category](docs/Category.md)
84+
- [PSPetstore\Model.Order](docs/Order.md)
85+
- [PSPetstore\Model.Pet](docs/Pet.md)
86+
- [PSPetstore\Model.Tag](docs/Tag.md)
87+
- [PSPetstore\Model.User](docs/User.md)
8888

8989

9090
## Documentation for Authorization

samples/client/petstore/powershell/docs/PSPetApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PSPetstore.PSPetstore/Api.PSPetApi
1+
# PSPetstore.PSPetstore\Api.PSPetApi
22

33
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

samples/client/petstore/powershell/docs/PSStoreApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PSPetstore.PSPetstore/Api.PSStoreApi
1+
# PSPetstore.PSPetstore\Api.PSStoreApi
22

33
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

samples/client/petstore/powershell/docs/PSUserApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PSPetstore.PSPetstore/Api.PSUserApi
1+
# PSPetstore.PSPetstore\Api.PSUserApi
22

33
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.0-SNAPSHOT
1+
5.1.1-SNAPSHOT

samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/runtime.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export class BaseAPI {
6262
url += '?' + this.configuration.queryParamsStringify(context.query);
6363
}
6464
const body = ((typeof FormData !== "undefined" && context.body instanceof FormData) || context.body instanceof URLSearchParams || isBlob(context.body))
65-
? context.body
66-
: JSON.stringify(context.body);
65+
? context.body
66+
: JSON.stringify(context.body);
6767

6868
const headers = Object.assign({}, this.configuration.headers, context.headers);
6969
const init = {
@@ -227,6 +227,9 @@ export function querystring(params: HTTPQuery, prefix: string = ''): string {
227227
.join(`&${encodeURIComponent(fullKey)}=`);
228228
return `${encodeURIComponent(fullKey)}=${multiValue}`;
229229
}
230+
if (value instanceof Date) {
231+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
232+
}
230233
if (value instanceof Object) {
231234
return querystring(value as HTTPQuery, fullKey);
232235
}

samples/openapi3/client/petstore/dart-dio-next/petstore_client_lib_fake/README.md

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -64,94 +64,94 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
6464

6565
Class | Method | HTTP request | Description
6666
------------ | ------------- | ------------- | -------------
67-
*AnotherFakeApi* | [**call123testSpecialTags**](doc/AnotherFakeApi.md#call123testspecialtags) | **patch** /another-fake/dummy | To test special tags
68-
*DefaultApi* | [**fooGet**](doc/DefaultApi.md#fooget) | **get** /foo |
69-
*FakeApi* | [**fakeHealthGet**](doc/FakeApi.md#fakehealthget) | **get** /fake/health | Health check endpoint
70-
*FakeApi* | [**fakeHttpSignatureTest**](doc/FakeApi.md#fakehttpsignaturetest) | **get** /fake/http-signature-test | test http signature authentication
71-
*FakeApi* | [**fakeOuterBooleanSerialize**](doc/FakeApi.md#fakeouterbooleanserialize) | **post** /fake/outer/boolean |
72-
*FakeApi* | [**fakeOuterCompositeSerialize**](doc/FakeApi.md#fakeoutercompositeserialize) | **post** /fake/outer/composite |
73-
*FakeApi* | [**fakeOuterNumberSerialize**](doc/FakeApi.md#fakeouternumberserialize) | **post** /fake/outer/number |
74-
*FakeApi* | [**fakeOuterStringSerialize**](doc/FakeApi.md#fakeouterstringserialize) | **post** /fake/outer/string |
75-
*FakeApi* | [**fakePropertyEnumIntegerSerialize**](doc/FakeApi.md#fakepropertyenumintegerserialize) | **post** /fake/property/enum-int |
76-
*FakeApi* | [**testBodyWithFileSchema**](doc/FakeApi.md#testbodywithfileschema) | **put** /fake/body-with-file-schema |
77-
*FakeApi* | [**testBodyWithQueryParams**](doc/FakeApi.md#testbodywithqueryparams) | **put** /fake/body-with-query-params |
78-
*FakeApi* | [**testClientModel**](doc/FakeApi.md#testclientmodel) | **patch** /fake | To test \&quot;client\&quot; model
79-
*FakeApi* | [**testEndpointParameters**](doc/FakeApi.md#testendpointparameters) | **post** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
80-
*FakeApi* | [**testEnumParameters**](doc/FakeApi.md#testenumparameters) | **get** /fake | To test enum parameters
81-
*FakeApi* | [**testGroupParameters**](doc/FakeApi.md#testgroupparameters) | **delete** /fake | Fake endpoint to test group parameters (optional)
82-
*FakeApi* | [**testInlineAdditionalProperties**](doc/FakeApi.md#testinlineadditionalproperties) | **post** /fake/inline-additionalProperties | test inline additionalProperties
83-
*FakeApi* | [**testJsonFormData**](doc/FakeApi.md#testjsonformdata) | **get** /fake/jsonFormData | test json serialization of form data
84-
*FakeApi* | [**testQueryParameterCollectionFormat**](doc/FakeApi.md#testqueryparametercollectionformat) | **put** /fake/test-query-paramters |
85-
*FakeClassnameTags123Api* | [**testClassname**](doc/FakeClassnameTags123Api.md#testclassname) | **patch** /fake_classname_test | To test class name in snake case
86-
*PetApi* | [**addPet**](doc/PetApi.md#addpet) | **post** /pet | Add a new pet to the store
87-
*PetApi* | [**deletePet**](doc/PetApi.md#deletepet) | **delete** /pet/{petId} | Deletes a pet
88-
*PetApi* | [**findPetsByStatus**](doc/PetApi.md#findpetsbystatus) | **get** /pet/findByStatus | Finds Pets by status
89-
*PetApi* | [**findPetsByTags**](doc/PetApi.md#findpetsbytags) | **get** /pet/findByTags | Finds Pets by tags
90-
*PetApi* | [**getPetById**](doc/PetApi.md#getpetbyid) | **get** /pet/{petId} | Find pet by ID
91-
*PetApi* | [**updatePet**](doc/PetApi.md#updatepet) | **put** /pet | Update an existing pet
92-
*PetApi* | [**updatePetWithForm**](doc/PetApi.md#updatepetwithform) | **post** /pet/{petId} | Updates a pet in the store with form data
93-
*PetApi* | [**uploadFile**](doc/PetApi.md#uploadfile) | **post** /pet/{petId}/uploadImage | uploads an image
94-
*PetApi* | [**uploadFileWithRequiredFile**](doc/PetApi.md#uploadfilewithrequiredfile) | **post** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
95-
*StoreApi* | [**deleteOrder**](doc/StoreApi.md#deleteorder) | **delete** /store/order/{order_id} | Delete purchase order by ID
96-
*StoreApi* | [**getInventory**](doc/StoreApi.md#getinventory) | **get** /store/inventory | Returns pet inventories by status
97-
*StoreApi* | [**getOrderById**](doc/StoreApi.md#getorderbyid) | **get** /store/order/{order_id} | Find purchase order by ID
98-
*StoreApi* | [**placeOrder**](doc/StoreApi.md#placeorder) | **post** /store/order | Place an order for a pet
99-
*UserApi* | [**createUser**](doc/UserApi.md#createuser) | **post** /user | Create user
100-
*UserApi* | [**createUsersWithArrayInput**](doc/UserApi.md#createuserswitharrayinput) | **post** /user/createWithArray | Creates list of users with given input array
101-
*UserApi* | [**createUsersWithListInput**](doc/UserApi.md#createuserswithlistinput) | **post** /user/createWithList | Creates list of users with given input array
102-
*UserApi* | [**deleteUser**](doc/UserApi.md#deleteuser) | **delete** /user/{username} | Delete user
103-
*UserApi* | [**getUserByName**](doc/UserApi.md#getuserbyname) | **get** /user/{username} | Get user by user name
104-
*UserApi* | [**loginUser**](doc/UserApi.md#loginuser) | **get** /user/login | Logs user into the system
105-
*UserApi* | [**logoutUser**](doc/UserApi.md#logoutuser) | **get** /user/logout | Logs out current logged in user session
106-
*UserApi* | [**updateUser**](doc/UserApi.md#updateuser) | **put** /user/{username} | Updated user
67+
*AnotherFakeApi* | [**call123testSpecialTags**](doc\AnotherFakeApi.md#call123testspecialtags) | **patch** /another-fake/dummy | To test special tags
68+
*DefaultApi* | [**fooGet**](doc\DefaultApi.md#fooget) | **get** /foo |
69+
*FakeApi* | [**fakeHealthGet**](doc\FakeApi.md#fakehealthget) | **get** /fake/health | Health check endpoint
70+
*FakeApi* | [**fakeHttpSignatureTest**](doc\FakeApi.md#fakehttpsignaturetest) | **get** /fake/http-signature-test | test http signature authentication
71+
*FakeApi* | [**fakeOuterBooleanSerialize**](doc\FakeApi.md#fakeouterbooleanserialize) | **post** /fake/outer/boolean |
72+
*FakeApi* | [**fakeOuterCompositeSerialize**](doc\FakeApi.md#fakeoutercompositeserialize) | **post** /fake/outer/composite |
73+
*FakeApi* | [**fakeOuterNumberSerialize**](doc\FakeApi.md#fakeouternumberserialize) | **post** /fake/outer/number |
74+
*FakeApi* | [**fakeOuterStringSerialize**](doc\FakeApi.md#fakeouterstringserialize) | **post** /fake/outer/string |
75+
*FakeApi* | [**fakePropertyEnumIntegerSerialize**](doc\FakeApi.md#fakepropertyenumintegerserialize) | **post** /fake/property/enum-int |
76+
*FakeApi* | [**testBodyWithFileSchema**](doc\FakeApi.md#testbodywithfileschema) | **put** /fake/body-with-file-schema |
77+
*FakeApi* | [**testBodyWithQueryParams**](doc\FakeApi.md#testbodywithqueryparams) | **put** /fake/body-with-query-params |
78+
*FakeApi* | [**testClientModel**](doc\FakeApi.md#testclientmodel) | **patch** /fake | To test \&quot;client\&quot; model
79+
*FakeApi* | [**testEndpointParameters**](doc\FakeApi.md#testendpointparameters) | **post** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
80+
*FakeApi* | [**testEnumParameters**](doc\FakeApi.md#testenumparameters) | **get** /fake | To test enum parameters
81+
*FakeApi* | [**testGroupParameters**](doc\FakeApi.md#testgroupparameters) | **delete** /fake | Fake endpoint to test group parameters (optional)
82+
*FakeApi* | [**testInlineAdditionalProperties**](doc\FakeApi.md#testinlineadditionalproperties) | **post** /fake/inline-additionalProperties | test inline additionalProperties
83+
*FakeApi* | [**testJsonFormData**](doc\FakeApi.md#testjsonformdata) | **get** /fake/jsonFormData | test json serialization of form data
84+
*FakeApi* | [**testQueryParameterCollectionFormat**](doc\FakeApi.md#testqueryparametercollectionformat) | **put** /fake/test-query-paramters |
85+
*FakeClassnameTags123Api* | [**testClassname**](doc\FakeClassnameTags123Api.md#testclassname) | **patch** /fake_classname_test | To test class name in snake case
86+
*PetApi* | [**addPet**](doc\PetApi.md#addpet) | **post** /pet | Add a new pet to the store
87+
*PetApi* | [**deletePet**](doc\PetApi.md#deletepet) | **delete** /pet/{petId} | Deletes a pet
88+
*PetApi* | [**findPetsByStatus**](doc\PetApi.md#findpetsbystatus) | **get** /pet/findByStatus | Finds Pets by status
89+
*PetApi* | [**findPetsByTags**](doc\PetApi.md#findpetsbytags) | **get** /pet/findByTags | Finds Pets by tags
90+
*PetApi* | [**getPetById**](doc\PetApi.md#getpetbyid) | **get** /pet/{petId} | Find pet by ID
91+
*PetApi* | [**updatePet**](doc\PetApi.md#updatepet) | **put** /pet | Update an existing pet
92+
*PetApi* | [**updatePetWithForm**](doc\PetApi.md#updatepetwithform) | **post** /pet/{petId} | Updates a pet in the store with form data
93+
*PetApi* | [**uploadFile**](doc\PetApi.md#uploadfile) | **post** /pet/{petId}/uploadImage | uploads an image
94+
*PetApi* | [**uploadFileWithRequiredFile**](doc\PetApi.md#uploadfilewithrequiredfile) | **post** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
95+
*StoreApi* | [**deleteOrder**](doc\StoreApi.md#deleteorder) | **delete** /store/order/{order_id} | Delete purchase order by ID
96+
*StoreApi* | [**getInventory**](doc\StoreApi.md#getinventory) | **get** /store/inventory | Returns pet inventories by status
97+
*StoreApi* | [**getOrderById**](doc\StoreApi.md#getorderbyid) | **get** /store/order/{order_id} | Find purchase order by ID
98+
*StoreApi* | [**placeOrder**](doc\StoreApi.md#placeorder) | **post** /store/order | Place an order for a pet
99+
*UserApi* | [**createUser**](doc\UserApi.md#createuser) | **post** /user | Create user
100+
*UserApi* | [**createUsersWithArrayInput**](doc\UserApi.md#createuserswitharrayinput) | **post** /user/createWithArray | Creates list of users with given input array
101+
*UserApi* | [**createUsersWithListInput**](doc\UserApi.md#createuserswithlistinput) | **post** /user/createWithList | Creates list of users with given input array
102+
*UserApi* | [**deleteUser**](doc\UserApi.md#deleteuser) | **delete** /user/{username} | Delete user
103+
*UserApi* | [**getUserByName**](doc\UserApi.md#getuserbyname) | **get** /user/{username} | Get user by user name
104+
*UserApi* | [**loginUser**](doc\UserApi.md#loginuser) | **get** /user/login | Logs user into the system
105+
*UserApi* | [**logoutUser**](doc\UserApi.md#logoutuser) | **get** /user/logout | Logs out current logged in user session
106+
*UserApi* | [**updateUser**](doc\UserApi.md#updateuser) | **put** /user/{username} | Updated user
107107

108108

109109
## Documentation For Models
110110

111-
- [AdditionalPropertiesClass](doc/AdditionalPropertiesClass.md)
112-
- [Animal](doc/Animal.md)
113-
- [ApiResponse](doc/ApiResponse.md)
114-
- [ArrayOfArrayOfNumberOnly](doc/ArrayOfArrayOfNumberOnly.md)
115-
- [ArrayOfNumberOnly](doc/ArrayOfNumberOnly.md)
116-
- [ArrayTest](doc/ArrayTest.md)
117-
- [Capitalization](doc/Capitalization.md)
118-
- [Cat](doc/Cat.md)
119-
- [CatAllOf](doc/CatAllOf.md)
120-
- [Category](doc/Category.md)
121-
- [ClassModel](doc/ClassModel.md)
122-
- [Dog](doc/Dog.md)
123-
- [DogAllOf](doc/DogAllOf.md)
124-
- [EnumArrays](doc/EnumArrays.md)
125-
- [EnumTest](doc/EnumTest.md)
126-
- [FileSchemaTestClass](doc/FileSchemaTestClass.md)
127-
- [Foo](doc/Foo.md)
128-
- [FormatTest](doc/FormatTest.md)
129-
- [HasOnlyReadOnly](doc/HasOnlyReadOnly.md)
130-
- [HealthCheckResult](doc/HealthCheckResult.md)
131-
- [InlineResponseDefault](doc/InlineResponseDefault.md)
132-
- [MapTest](doc/MapTest.md)
133-
- [MixedPropertiesAndAdditionalPropertiesClass](doc/MixedPropertiesAndAdditionalPropertiesClass.md)
134-
- [Model200Response](doc/Model200Response.md)
135-
- [ModelClient](doc/ModelClient.md)
136-
- [ModelEnumClass](doc/ModelEnumClass.md)
137-
- [ModelFile](doc/ModelFile.md)
138-
- [ModelList](doc/ModelList.md)
139-
- [ModelReturn](doc/ModelReturn.md)
140-
- [Name](doc/Name.md)
141-
- [NullableClass](doc/NullableClass.md)
142-
- [NumberOnly](doc/NumberOnly.md)
143-
- [Order](doc/Order.md)
144-
- [OuterComposite](doc/OuterComposite.md)
145-
- [OuterEnum](doc/OuterEnum.md)
146-
- [OuterEnumDefaultValue](doc/OuterEnumDefaultValue.md)
147-
- [OuterEnumInteger](doc/OuterEnumInteger.md)
148-
- [OuterEnumIntegerDefaultValue](doc/OuterEnumIntegerDefaultValue.md)
149-
- [OuterObjectWithEnumProperty](doc/OuterObjectWithEnumProperty.md)
150-
- [Pet](doc/Pet.md)
151-
- [ReadOnlyFirst](doc/ReadOnlyFirst.md)
152-
- [SpecialModelName](doc/SpecialModelName.md)
153-
- [Tag](doc/Tag.md)
154-
- [User](doc/User.md)
111+
- [AdditionalPropertiesClass](doc\AdditionalPropertiesClass.md)
112+
- [Animal](doc\Animal.md)
113+
- [ApiResponse](doc\ApiResponse.md)
114+
- [ArrayOfArrayOfNumberOnly](doc\ArrayOfArrayOfNumberOnly.md)
115+
- [ArrayOfNumberOnly](doc\ArrayOfNumberOnly.md)
116+
- [ArrayTest](doc\ArrayTest.md)
117+
- [Capitalization](doc\Capitalization.md)
118+
- [Cat](doc\Cat.md)
119+
- [CatAllOf](doc\CatAllOf.md)
120+
- [Category](doc\Category.md)
121+
- [ClassModel](doc\ClassModel.md)
122+
- [Dog](doc\Dog.md)
123+
- [DogAllOf](doc\DogAllOf.md)
124+
- [EnumArrays](doc\EnumArrays.md)
125+
- [EnumTest](doc\EnumTest.md)
126+
- [FileSchemaTestClass](doc\FileSchemaTestClass.md)
127+
- [Foo](doc\Foo.md)
128+
- [FormatTest](doc\FormatTest.md)
129+
- [HasOnlyReadOnly](doc\HasOnlyReadOnly.md)
130+
- [HealthCheckResult](doc\HealthCheckResult.md)
131+
- [InlineResponseDefault](doc\InlineResponseDefault.md)
132+
- [MapTest](doc\MapTest.md)
133+
- [MixedPropertiesAndAdditionalPropertiesClass](doc\MixedPropertiesAndAdditionalPropertiesClass.md)
134+
- [Model200Response](doc\Model200Response.md)
135+
- [ModelClient](doc\ModelClient.md)
136+
- [ModelEnumClass](doc\ModelEnumClass.md)
137+
- [ModelFile](doc\ModelFile.md)
138+
- [ModelList](doc\ModelList.md)
139+
- [ModelReturn](doc\ModelReturn.md)
140+
- [Name](doc\Name.md)
141+
- [NullableClass](doc\NullableClass.md)
142+
- [NumberOnly](doc\NumberOnly.md)
143+
- [Order](doc\Order.md)
144+
- [OuterComposite](doc\OuterComposite.md)
145+
- [OuterEnum](doc\OuterEnum.md)
146+
- [OuterEnumDefaultValue](doc\OuterEnumDefaultValue.md)
147+
- [OuterEnumInteger](doc\OuterEnumInteger.md)
148+
- [OuterEnumIntegerDefaultValue](doc\OuterEnumIntegerDefaultValue.md)
149+
- [OuterObjectWithEnumProperty](doc\OuterObjectWithEnumProperty.md)
150+
- [Pet](doc\Pet.md)
151+
- [ReadOnlyFirst](doc\ReadOnlyFirst.md)
152+
- [SpecialModelName](doc\SpecialModelName.md)
153+
- [Tag](doc\Tag.md)
154+
- [User](doc\User.md)
155155

156156

157157
## Documentation For Authorization

0 commit comments

Comments
 (0)