Skip to content

Commit 53d9878

Browse files
authored
Update Petstore samples (#331)
* Grammar and spelling fixes * update petstore samples
1 parent 798bf61 commit 53d9878

11 files changed

Lines changed: 11 additions & 11 deletions

File tree

samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ public void onResponse(Response response) throws IOException {
897897
* @param <T> Type
898898
* @param response Response
899899
* @param returnType Return type
900-
* @throws ApiException If the response has a unsuccessful status code or
900+
* @throws ApiException If the response has an unsuccessful status code or
901901
* fail to deserialize the response body
902902
* @return Type
903903
*/

samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ public void onResponse(Response response) throws IOException {
897897
* @param <T> Type
898898
* @param response Response
899899
* @param returnType Return type
900-
* @throws ApiException If the response has a unsuccessful status code or
900+
* @throws ApiException If the response has an unsuccessful status code or
901901
* fail to deserialize the response body
902902
* @return Type
903903
*/

samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static function serializeCollection(array $collection, $collectionFormat,
223223
* @param string[] $httpHeaders HTTP headers
224224
* @param string $discriminator discriminator if polymorphism is used
225225
*
226-
* @return object|array|null an single or an array of $class instances
226+
* @return object|array|null a single or an array of $class instances
227227
*/
228228
public static function deserialize($data, $class, $httpHeaders = null)
229229
{

samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static function serializeCollection(array $collection, $collectionFormat,
223223
* @param string[] $httpHeaders HTTP headers
224224
* @param string $discriminator discriminator if polymorphism is used
225225
*
226-
* @return object|array|null an single or an array of $class instances
226+
* @return object|array|null a single or an array of $class instances
227227
*/
228228
public static function deserialize($data, $class, $httpHeaders = null)
229229
{

samples/server/petstore/springboot-beanvalidation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is an example of building a OpenAPI-enabled server in Java using the Spring
1010

1111
The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
1212

13-
Start your server as an simple java application
13+
Start your server as a simple java application
1414

1515
You can view the api documentation in swagger-ui by pointing to
1616
http://localhost:80/

samples/server/petstore/springboot-delegate-j8/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is an example of building a OpenAPI-enabled server in Java using the Spring
1010

1111
The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
1212

13-
Start your server as an simple java application
13+
Start your server as a simple java application
1414

1515
You can view the api documentation in swagger-ui by pointing to
1616
http://localhost:80/

samples/server/petstore/springboot-delegate/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is an example of building a OpenAPI-enabled server in Java using the Spring
1010

1111
The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
1212

13-
Start your server as an simple java application
13+
Start your server as a simple java application
1414

1515
You can view the api documentation in swagger-ui by pointing to
1616
http://localhost:80/

samples/server/petstore/springboot-implicitHeaders/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is an example of building a OpenAPI-enabled server in Java using the Spring
1010

1111
The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
1212

13-
Start your server as an simple java application
13+
Start your server as a simple java application
1414

1515
You can view the api documentation in swagger-ui by pointing to
1616
http://localhost:80/

samples/server/petstore/springboot-reactive/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ This server was generated by the [OpenAPI Generator](https://openapi-generator.t
88
By using the [OpenAPI-Spec](https://openapis.org), you can easily generate a server stub.
99
This is an example of building a OpenAPI-enabled server in Java using the SpringBoot framework.
1010

11-
Start your server as an simple java application
11+
Start your server as a simple java application
1212

1313
Change default port value in application.properties

samples/server/petstore/springboot-useoptional/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is an example of building a OpenAPI-enabled server in Java using the Spring
1010

1111
The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
1212

13-
Start your server as an simple java application
13+
Start your server as a simple java application
1414

1515
You can view the api documentation in swagger-ui by pointing to
1616
http://localhost:80/

0 commit comments

Comments
 (0)