Fix thousands of spelling typos (#10272)

This commit is contained in:
Nathan Baulch
2021-08-29 00:58:24 +10:00
committed by GitHub
parent 2d239271e5
commit 5d68bd6a03
1132 changed files with 2060 additions and 2060 deletions

View File

@@ -147,7 +147,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**testQueryParameterCollectionFormat**](docs/FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-paramters |
*FakeApi* | [**testQueryParameterCollectionFormat**](docs/FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-parameters |
*FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**addPet**](docs/PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**deletePet**](docs/PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet

View File

@@ -1125,7 +1125,7 @@ paths:
- fake
x-contentType: application/json
x-accepts: application/json
/fake/test-query-paramters:
/fake/test-query-parameters:
put:
description: To test the collection format in query parameters
operationId: testQueryParameterCollectionFormat

View File

@@ -18,7 +18,7 @@ Method | HTTP request | Description
[**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
[**testQueryParameterCollectionFormat**](FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-paramters |
[**testQueryParameterCollectionFormat**](FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-parameters |

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2

View File

@@ -608,7 +608,7 @@ public class ApiClient extends JavaTimeFormatter {
/**
* The path of temporary folder used to store downloaded files from endpoints
* with file response. The default value is <code>null</code>, i.e. using
* the system's default tempopary folder.
* the system's default temporary folder.
*
* @return Temp folder path
*/
@@ -1264,7 +1264,7 @@ public class ApiClient extends JavaTimeFormatter {
/**
* Customize the client builder.
*
* This method can be overriden to customize the API client. For example, this can be used to:
* This method can be overridden to customize the API client. For example, this can be used to:
* 1. Set the hostname verifier to be used by the client to verify the endpoint's hostname
* against its identification information.
* 2. Set the client-side key store.

View File

@@ -12,7 +12,7 @@ public class ServerConfiguration {
/**
* @param URL A URL to the target host.
* @param description A describtion of the host designated by the URL.
* @param description A description of the host designated by the URL.
* @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template.
*/
public ServerConfiguration(String URL, String description, Map<String, ServerVariable> variables) {

View File

@@ -28,7 +28,7 @@ public class AnotherFakeApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -37,7 +37,7 @@ public class AnotherFakeApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -28,7 +28,7 @@ public class DefaultApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -37,7 +37,7 @@ public class DefaultApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -37,7 +37,7 @@ public class FakeApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -46,7 +46,7 @@ public class FakeApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/
@@ -1221,7 +1221,7 @@ if (param2 != null)
}
// create path and map variables
String localVarPath = "/fake/test-query-paramters";
String localVarPath = "/fake/test-query-parameters";
// query params
List<Pair> localVarQueryParams = new ArrayList<Pair>();

View File

@@ -28,7 +28,7 @@ public class FakeClassnameTags123Api {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -37,7 +37,7 @@ public class FakeClassnameTags123Api {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -30,7 +30,7 @@ public class PetApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -39,7 +39,7 @@ public class PetApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -28,7 +28,7 @@ public class StoreApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -37,7 +37,7 @@ public class StoreApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -28,7 +28,7 @@ public class UserApi {
}
/**
* Get the API cilent
* Get the API client
*
* @return API client
*/
@@ -37,7 +37,7 @@ public class UserApi {
}
/**
* Set the API cilent
* Set the API client
*
* @param apiClient an instance of API client
*/

View File

@@ -132,7 +132,7 @@ public abstract class AbstractOpenApiSchema {
}
/**
* Is nullalble
* Is nullable
*
* @return true if it's nullable
*/

View File

@@ -228,7 +228,7 @@ public class Fruit extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Apple`. If the actual instanct is not `Apple`,
* Get the actual instance of `Apple`. If the actual instance is not `Apple`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Apple`
@@ -239,7 +239,7 @@ public class Fruit extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Banana`. If the actual instanct is not `Banana`,
* Get the actual instance of `Banana`. If the actual instance is not `Banana`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Banana`

View File

@@ -235,7 +235,7 @@ public class FruitReq extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `AppleReq`. If the actual instanct is not `AppleReq`,
* Get the actual instance of `AppleReq`. If the actual instance is not `AppleReq`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `AppleReq`
@@ -246,7 +246,7 @@ public class FruitReq extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `BananaReq`. If the actual instanct is not `BananaReq`,
* Get the actual instance of `BananaReq`. If the actual instance is not `BananaReq`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `BananaReq`

View File

@@ -89,7 +89,7 @@ public class GmFruit extends AbstractOpenApiSchema {
JsonNode tree = jp.readValueAsTree();
Object deserialized = null;
// deserialzie Apple
// deserialize Apple
try {
deserialized = tree.traverse(jp.getCodec()).readValueAs(Apple.class);
GmFruit ret = new GmFruit();
@@ -100,7 +100,7 @@ public class GmFruit extends AbstractOpenApiSchema {
log.log(Level.FINER, "Input data does not match 'GmFruit'", e);
}
// deserialzie Banana
// deserialize Banana
try {
deserialized = tree.traverse(jp.getCodec()).readValueAs(Banana.class);
GmFruit ret = new GmFruit();
@@ -188,7 +188,7 @@ public class GmFruit extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Apple`. If the actual instanct is not `Apple`,
* Get the actual instance of `Apple`. If the actual instance is not `Apple`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Apple`
@@ -199,7 +199,7 @@ public class GmFruit extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Banana`. If the actual instanct is not `Banana`,
* Get the actual instance of `Banana`. If the actual instance is not `Banana`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Banana`

View File

@@ -348,7 +348,7 @@ public class Mammal extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Pig`. If the actual instanct is not `Pig`,
* Get the actual instance of `Pig`. If the actual instance is not `Pig`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Pig`
@@ -359,7 +359,7 @@ public class Mammal extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Whale`. If the actual instanct is not `Whale`,
* Get the actual instance of `Whale`. If the actual instance is not `Whale`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Whale`
@@ -370,7 +370,7 @@ public class Mammal extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Zebra`. If the actual instanct is not `Zebra`,
* Get the actual instance of `Zebra`. If the actual instance is not `Zebra`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Zebra`

View File

@@ -311,7 +311,7 @@ public class NullableShape extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Quadrilateral`. If the actual instanct is not `Quadrilateral`,
* Get the actual instance of `Quadrilateral`. If the actual instance is not `Quadrilateral`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Quadrilateral`
@@ -322,7 +322,7 @@ public class NullableShape extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Triangle`. If the actual instanct is not `Triangle`,
* Get the actual instance of `Triangle`. If the actual instance is not `Triangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Triangle`

View File

@@ -304,7 +304,7 @@ public class Pig extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `BasquePig`. If the actual instanct is not `BasquePig`,
* Get the actual instance of `BasquePig`. If the actual instance is not `BasquePig`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `BasquePig`
@@ -315,7 +315,7 @@ public class Pig extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `DanishPig`. If the actual instanct is not `DanishPig`,
* Get the actual instance of `DanishPig`. If the actual instance is not `DanishPig`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `DanishPig`

View File

@@ -304,7 +304,7 @@ public class Quadrilateral extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `ComplexQuadrilateral`. If the actual instanct is not `ComplexQuadrilateral`,
* Get the actual instance of `ComplexQuadrilateral`. If the actual instance is not `ComplexQuadrilateral`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `ComplexQuadrilateral`
@@ -315,7 +315,7 @@ public class Quadrilateral extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `SimpleQuadrilateral`. If the actual instanct is not `SimpleQuadrilateral`,
* Get the actual instance of `SimpleQuadrilateral`. If the actual instance is not `SimpleQuadrilateral`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `SimpleQuadrilateral`

View File

@@ -304,7 +304,7 @@ public class Shape extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Quadrilateral`. If the actual instanct is not `Quadrilateral`,
* Get the actual instance of `Quadrilateral`. If the actual instance is not `Quadrilateral`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Quadrilateral`
@@ -315,7 +315,7 @@ public class Shape extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Triangle`. If the actual instanct is not `Triangle`,
* Get the actual instance of `Triangle`. If the actual instance is not `Triangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Triangle`

View File

@@ -311,7 +311,7 @@ public class ShapeOrNull extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Quadrilateral`. If the actual instanct is not `Quadrilateral`,
* Get the actual instance of `Quadrilateral`. If the actual instance is not `Quadrilateral`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Quadrilateral`
@@ -322,7 +322,7 @@ public class ShapeOrNull extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `Triangle`. If the actual instanct is not `Triangle`,
* Get the actual instance of `Triangle`. If the actual instance is not `Triangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `Triangle`

View File

@@ -348,7 +348,7 @@ public class Triangle extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `EquilateralTriangle`. If the actual instanct is not `EquilateralTriangle`,
* Get the actual instance of `EquilateralTriangle`. If the actual instance is not `EquilateralTriangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `EquilateralTriangle`
@@ -359,7 +359,7 @@ public class Triangle extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `IsoscelesTriangle`. If the actual instanct is not `IsoscelesTriangle`,
* Get the actual instance of `IsoscelesTriangle`. If the actual instance is not `IsoscelesTriangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `IsoscelesTriangle`
@@ -370,7 +370,7 @@ public class Triangle extends AbstractOpenApiSchema {
}
/**
* Get the actual instance of `ScaleneTriangle`. If the actual instanct is not `ScaleneTriangle`,
* Get the actual instance of `ScaleneTriangle`. If the actual instance is not `ScaleneTriangle`,
* the ClassCastException will be thrown.
*
* @return The actual instance of `ScaleneTriangle`