Fix another batch of spelling typos (#13915)

* Fix typos

* Remove repeated words

* Minor grammar fixes
This commit is contained in:
Nathan Baulch
2022-11-08 00:30:24 +11:00
committed by GitHub
parent 3dc8403e10
commit 9f1fa0e440
1449 changed files with 2576 additions and 2581 deletions

View File

@@ -1671,7 +1671,7 @@ public class FakeApi {
* @http.response.details
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 400 </td><td> Someting wrong </td><td> - </td></tr>
<tr><td> 400 </td><td> Something wrong </td><td> - </td></tr>
</table>
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
@@ -1684,7 +1684,7 @@ public class FakeApi {
* @http.response.details
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 400 </td><td> Someting wrong </td><td> - </td></tr>
<tr><td> 400 </td><td> Something wrong </td><td> - </td></tr>
</table>
*/
public void execute() throws ApiException {
@@ -1698,7 +1698,7 @@ public class FakeApi {
* @http.response.details
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 400 </td><td> Someting wrong </td><td> - </td></tr>
<tr><td> 400 </td><td> Something wrong </td><td> - </td></tr>
</table>
*/
public ApiResponse<Void> executeWithHttpInfo() throws ApiException {
@@ -1713,7 +1713,7 @@ public class FakeApi {
* @http.response.details
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 400 </td><td> Someting wrong </td><td> - </td></tr>
<tr><td> 400 </td><td> Something wrong </td><td> - </td></tr>
</table>
*/
public okhttp3.Call executeAsync(final ApiCallback<Void> _callback) throws ApiException {
@@ -1731,7 +1731,7 @@ public class FakeApi {
* @http.response.details
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 400 </td><td> Someting wrong </td><td> - </td></tr>
<tr><td> 400 </td><td> Something wrong </td><td> - </td></tr>
</table>
*/
public APItestGroupParametersRequest testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group) {

View File

@@ -408,7 +408,7 @@ public class StoreApi {
/**
* Find purchase order by ID
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched (required)
* @return Order
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -427,7 +427,7 @@ public class StoreApi {
/**
* Find purchase order by ID
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched (required)
* @return ApiResponse&lt;Order&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -447,7 +447,7 @@ public class StoreApi {
/**
* Find purchase order by ID (asynchronously)
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call

View File

@@ -370,7 +370,7 @@ paths:
x-accepts: application/json
get:
description: For valid response try integer IDs with value <= 5 or > 10. Other
values will generated exceptions
values will generate exceptions
operationId: getOrderById
parameters:
- description: ID of pet that needs to be fetched
@@ -672,7 +672,7 @@ paths:
responses:
"400":
content: {}
description: Someting wrong
description: Something wrong
summary: Fake endpoint to test group parameters (optional)
tags:
- fake

View File

@@ -94,7 +94,7 @@ public class JSONTest {
// OK
}
try {
// unexpected miliseconds
// unexpected milliseconds
json.deserialize("\"2015-11-07T03:49:09.000Z\"", Date.class);
fail("json parsing should fail");
} catch (RuntimeException e) {

View File

@@ -61,7 +61,7 @@ public class StoreApiTest {
/**
* Find purchase order by ID
*
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
*
* @throws ApiException if the Api call fails
*/