model : models) {
+ String enumImportPath = (String) model.get("importPath");
if (enumImportPath != null && enumImportPath.equals(importPath)) {
return true;
}
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/WsdlSchemaCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/WsdlSchemaCodegen.java
index 2f66b96468f0..2dc1e6764a00 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/WsdlSchemaCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/WsdlSchemaCodegen.java
@@ -66,7 +66,7 @@ public WsdlSchemaCodegen() {
cliOptions.add(new CliOption("contentTypeVersion",
"generate WSDL with parameters/responses of the specified content-type"));
cliOptions.add(new CliOption("useSpecifiedOperationId",
- "wheather to use autogenerated operationId's (default) "
+ "whether to use autogenerated operationId's (default) "
+ "or those specified in openapi spec"));
additionalProperties.put("hostname", "localhost");
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/OptionalParameterLambda.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/OptionalParameterLambda.java
index 3494628043a9..2a152e9dbb78 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/OptionalParameterLambda.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/OptionalParameterLambda.java
@@ -28,7 +28,7 @@
import static org.openapitools.codegen.utils.StringUtils.camelize;
/**
- * Appends trailing ? to a text fragement if not already present
+ * Appends trailing ? to a text fragment if not already present
*
* Register:
*
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/RequiredParameterLambda.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/RequiredParameterLambda.java
index 54b5fad703b7..e42a373b0428 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/RequiredParameterLambda.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/RequiredParameterLambda.java
@@ -27,7 +27,7 @@
import static org.openapitools.codegen.utils.StringUtils.camelize;
/**
- * Strips trailing ? from a text fragement
+ * Strips trailing ? from a text fragment
*
* Register:
*
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java
index fbabd3bd5ad1..107045d3958c 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java
@@ -426,7 +426,7 @@ public static boolean isTypeObjectSchema(Schema schema) {
/**
* Return true if the specified schema is an object with a fixed number of properties.
*
- * A ObjectSchema differs from an MapSchema in the following way:
+ * A ObjectSchema differs from a MapSchema in the following way:
* - An ObjectSchema is not extensible, i.e. it has a fixed number of properties.
* - A MapSchema is an object that can be extended with an arbitrary set of properties.
* The payload may include dynamic properties.
@@ -917,7 +917,7 @@ public static List getAllSchemas(OpenAPI openAPI) {
}
/**
- * If a RequestBody contains a reference to an other RequestBody with '$ref', returns the referenced RequestBody if it is found or the actual RequestBody in the other cases.
+ * If a RequestBody contains a reference to another RequestBody with '$ref', returns the referenced RequestBody if it is found or the actual RequestBody in the other cases.
*
* @param openAPI specification being checked
* @param requestBody potentially containing a '$ref'
@@ -946,7 +946,7 @@ public static RequestBody getRequestBody(OpenAPI openAPI, String name) {
}
/**
- * If a ApiResponse contains a reference to an other ApiResponse with '$ref', returns the referenced ApiResponse if it is found or the actual ApiResponse in the other cases.
+ * If a ApiResponse contains a reference to another ApiResponse with '$ref', returns the referenced ApiResponse if it is found or the actual ApiResponse in the other cases.
*
* @param openAPI specification being checked
* @param apiResponse potentially containing a '$ref'
@@ -975,7 +975,7 @@ public static ApiResponse getApiResponse(OpenAPI openAPI, String name) {
}
/**
- * If a Parameter contains a reference to an other Parameter with '$ref', returns the referenced Parameter if it is found or the actual Parameter in the other cases.
+ * If a Parameter contains a reference to another Parameter with '$ref', returns the referenced Parameter if it is found or the actual Parameter in the other cases.
*
* @param openAPI specification being checked
* @param parameter potentially containing a '$ref'
@@ -1004,7 +1004,7 @@ public static Parameter getParameter(OpenAPI openAPI, String name) {
}
/**
- * If a Callback contains a reference to an other Callback with '$ref', returns the referenced Callback if it is found or the actual Callback in the other cases.
+ * If a Callback contains a reference to another Callback with '$ref', returns the referenced Callback if it is found or the actual Callback in the other cases.
*
* @param openAPI specification being checked
* @param callback potentially containing a '$ref'
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/RuleConfiguration.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/RuleConfiguration.java
index 56f254cfbac3..1f85dad3c674 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/RuleConfiguration.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/RuleConfiguration.java
@@ -107,7 +107,7 @@ public void setEnableSchemaTypeRecommendation(boolean enableSchemaTypeRecommenda
}
/**
- * Gets whether the recommendation check for for schemas containing type definitions.
+ * Gets whether the recommendation check for schemas containing type definitions.
*
* In OpenAPI 3.0.x, the "type" attribute must be a string value.
* In OpenAPI 3.1, the type attribute may be:
@@ -134,7 +134,7 @@ public void setEnableNullableAttributeRecommendation(boolean enableNullableAttri
}
/**
- * Gets whether the recommendation check for for schemas containing the 'nullable' attribute.
+ * Gets whether the recommendation check for schemas containing the 'nullable' attribute.
*
* In OpenAPI 3.0.x, the "nullable" attribute is supported. However, because it is deprecated in 3.1
* and above, a warning is logged to prepare for OpenAPI 3.1 recommendations.
@@ -160,7 +160,7 @@ public void setEnableInvalidTypeRecommendation(boolean enableInvalidTypeRecommen
}
/**
- * Gets whether the recommendation check for for schemas containing invalid values for the 'type' attribute.
+ * Gets whether the recommendation check for schemas containing invalid values for the 'type' attribute.
*
*
* @return true
if enabled, false
if disabled
diff --git a/modules/openapi-generator/src/main/resources/C-libcurl/cJSON.c.mustache b/modules/openapi-generator/src/main/resources/C-libcurl/cJSON.c.mustache
index 2139b5efd936..afc9ff0db8b2 100644
--- a/modules/openapi-generator/src/main/resources/C-libcurl/cJSON.c.mustache
+++ b/modules/openapi-generator/src/main/resources/C-libcurl/cJSON.c.mustache
@@ -125,7 +125,7 @@ typedef struct internal_hooks
} internal_hooks;
#if defined(_MSC_VER)
-/* work around MSVC error C2322: '...' address of dillimport '...' is not static */
+/* work around MSVC error C2322: '...' address of dllimport '...' is not static */
static void *internal_malloc(size_t size)
{
return malloc(size);
diff --git a/modules/openapi-generator/src/main/resources/Eiffel/api_client.mustache b/modules/openapi-generator/src/main/resources/Eiffel/api_client.mustache
index 6bfe00c620d7..b0f9441243c2 100644
--- a/modules/openapi-generator/src/main/resources/Eiffel/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/Eiffel/api_client.mustache
@@ -320,7 +320,7 @@ feature -- HTTP client: call api
-- Execute an HTTP request with the given options.
-- Relative path `a_path'
-- Method `a_method' "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE"
- -- A request `a_request' wth
+ -- A request `a_request' with
-- The query parameters: `query_params'.
-- The Header parameters: `header_params'.
-- The Request Body: `body' could be Void, object to be serialized using the serializer function `a_serializer' with a given content_type.
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/native/additional_properties.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/native/additional_properties.mustache
index 4086383f1528..8e7182792457 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/native/additional_properties.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/native/additional_properties.mustache
@@ -10,7 +10,7 @@
* Set the additional (undeclared) property with the specified name and value.
* If the property does not already exist, create it otherwise replace it.
* @param key the name of the property
- * @param value the value value of the property
+ * @param value the value of the property
* @return self reference
*/
@JsonAnySetter
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pojo.mustache
index 20458364e935..e41ffd9d7339 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pojo.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pojo.mustache
@@ -579,7 +579,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
{{#isAdditionalPropertiesTrue}}
obj.remove("additionalProperties");
- // serialize additonal properties
+ // serialize additional properties
if (value.getAdditionalProperties() != null) {
for (Map.Entry entry : value.getAdditionalProperties().entrySet()) {
if (entry.getValue() instanceof String)
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/CXF2InterfaceComparator.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/CXF2InterfaceComparator.mustache
index d1fd0bf82c80..c8340c5e9204 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/CXF2InterfaceComparator.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/CXF2InterfaceComparator.mustache
@@ -69,7 +69,7 @@ public class CXFInterfaceComparator implements ResourceComparator {
if (requestVerb.equals(HttpMethod.OPTIONS) && match(pathValue,requestPath)) {
return true;
}
- // Also check the HTTP verb since a single path can be match do multiple request, depending of the HTTP request verb.
+ // Also check the HTTP verb since a single path can be match do multiple request, depending on the HTTP request verb.
if (requestVerb.equals(methodHttpVerb) && match(pathValue, requestPath)) {
return true;
}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/CXF2InterfaceComparator.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/CXF2InterfaceComparator.mustache
index d1fd0bf82c80..c8340c5e9204 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/CXF2InterfaceComparator.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/CXF2InterfaceComparator.mustache
@@ -69,7 +69,7 @@ public class CXFInterfaceComparator implements ResourceComparator {
if (requestVerb.equals(HttpMethod.OPTIONS) && match(pathValue,requestPath)) {
return true;
}
- // Also check the HTTP verb since a single path can be match do multiple request, depending of the HTTP request verb.
+ // Also check the HTTP verb since a single path can be match do multiple request, depending on the HTTP request verb.
if (requestVerb.equals(methodHttpVerb) && match(pathValue, requestPath)) {
return true;
}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/README.mustache
index 93c1ccb78114..4718b9d4b902 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/README.mustache
@@ -9,13 +9,13 @@ This example uses the [JAX-RS](https://jax-rs-spec.java.net/) framework.
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
-The jar can be used in combination with an other project providing the implementation.
+The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
The JAX-RS implementation needs to be provided by the application server you are deploying on.
-To run the server from the command line, you can use maven to provision an start a TomEE Server.
+To run the server from the command line, you can use maven to provision and start a TomEE Server.
Please execute the following:
```
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/helidon/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/helidon/README.mustache
index d2d0ddaa1e55..2661c14e4c25 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/helidon/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/helidon/README.mustache
@@ -12,7 +12,7 @@ The pom file is configured to use [Helidon](https://helidon.io/) as application
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
-The jar can be used in combination with an other project providing the implementation.
+The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/kumuluzee/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/kumuluzee/README.mustache
index deea381ac94e..d2ad96e1f309 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/kumuluzee/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/kumuluzee/README.mustache
@@ -12,7 +12,7 @@ The pom file is configured to use [KumuluzEE](https://ee.kumuluz.com/) as applic
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
- The jar can be used in combination with an other project providing the implementation.
+ The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/README.mustache
index 21a76d827106..1db634c6f977 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/README.mustache
@@ -12,7 +12,7 @@ The pom file is configured to use [Open Liberty](https://openliberty.io/) as app
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
-The jar can be used in combination with an other project providing the implementation.
+The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/README.mustache
index 6c5ef2f11dd0..dfcb3d94a56f 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/README.mustache
@@ -12,7 +12,7 @@ The pom file is configured to use [Quarkus](https://quarkus.io/) as application
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
-The jar can be used in combination with an other project providing the implementation.
+The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/thorntail/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/thorntail/README.mustache
index 66e31f3b0c7a..c4ec90cbdeeb 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/thorntail/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/thorntail/README.mustache
@@ -12,7 +12,7 @@ The pom file is configured to use [Thorntail](https://thorntail.io) as applicati
{{#interfaceOnly}}
This project produces a jar that defines some interfaces.
-The jar can be used in combination with an other project providing the implementation.
+The jar can be used in combination with another project providing the implementation.
{{/interfaceOnly}}
{{^interfaceOnly}}
diff --git a/modules/openapi-generator/src/main/resources/Javascript-Flowtyped/README.mustache b/modules/openapi-generator/src/main/resources/Javascript-Flowtyped/README.mustache
index e93ab6f53dd0..754e5f7da022 100644
--- a/modules/openapi-generator/src/main/resources/Javascript-Flowtyped/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript-Flowtyped/README.mustache
@@ -15,7 +15,7 @@ Module system
### Building
-To build an compile the flow typed sources to javascript use:
+To build and compile the flow typed sources to javascript use:
```
npm install
# The dependency `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables
diff --git a/modules/openapi-generator/src/main/resources/Javascript/partial_model_oneof.mustache b/modules/openapi-generator/src/main/resources/Javascript/partial_model_oneof.mustache
index b226851ffc3d..a0ff043a1d8a 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/partial_model_oneof.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/partial_model_oneof.mustache
@@ -228,7 +228,7 @@ class {{classname}} {
{{#emitJSDoc}}
/**
- * Gets the actaul instance, which can be {{#oneOf}}{{{.}}}
{{^-last}}, {{/-last}}{{/oneOf}}.
+ * Gets the actual instance, which can be {{#oneOf}}{{{.}}}
{{^-last}}, {{/-last}}{{/oneOf}}.
* @return {{=< >=}}{(<#oneOf>module:<#invokerPackage>/<#modelPackage>/<&.><^-last>|-last>)}<={{ }}=> The actual instance.
*/
{{/emitJSDoc}}
@@ -238,7 +238,7 @@ class {{classname}} {
{{#emitJSDoc}}
/**
- * Sets the actaul instance, which can be {{#oneOf}}{{{.}}}
{{^-last}}, {{/-last}}{{/oneOf}}.
+ * Sets the actual instance, which can be {{#oneOf}}{{{.}}}
{{^-last}}, {{/-last}}{{/oneOf}}.
* @param {{=< >=}}{(<#oneOf>module:<#invokerPackage>/<#modelPackage>/<&.><^-last>|-last>)}<={{ }}=> obj The actual instance.
*/
{{/emitJSDoc}}
@@ -248,7 +248,7 @@ class {{classname}} {
{{#emitJSDoc}}
/**
- * Returns the JSON representation of the actual intance.
+ * Returns the JSON representation of the actual instance.
* @return {string}
*/
{{/emitJSDoc}}
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Project.csproj.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Project.csproj.mustache
index c663a71f5d70..79ace57649c9 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Project.csproj.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Project.csproj.mustache
@@ -20,9 +20,9 @@
..\..
-{{#useSeperateModelProject}}
+{{#useSeparateModelProject}}
-{{/useSeperateModelProject}}
+{{/useSeparateModelProject}}
{{#useFrameworkReference}}
{{#isLibrary}}
@@ -31,9 +31,9 @@
{{^useFrameworkReference}}
{{/useFrameworkReference}}
-{{^useSeperateModelProject}}
+{{^useSeparateModelProject}}
-{{/useSeperateModelProject}}
+{{/useSeparateModelProject}}
{{#useSwashbuckle}}
{{#useNewtonsoft}}
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Solution.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Solution.mustache
index b72da20f3dcd..1b80ca509f1a 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Solution.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/Solution.mustache
@@ -5,10 +5,10 @@ VisualStudioVersion = 15.0.27428.2043
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "{{packageName}}", "{{sourceFolder}}\{{packageName}}\{{packageName}}.csproj", "{{packageGuid}}"
EndProject
-{{#useSeperateModelProject}}
+{{#useSeparateModelProject}}
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "{{modelPackage}}", "{{sourceFolder}}\{{modelPackage}}\{{modelPackage}}.csproj", "{B8D18F25-F379-4B87-ACCC-F8A17E0AED38}"
EndProject
-{{/useSeperateModelProject}}
+{{/useSeparateModelProject}}
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -19,12 +19,12 @@ Global
{{packageGuid}}.Debug|Any CPU.Build.0 = Debug|Any CPU
{{packageGuid}}.Release|Any CPU.ActiveCfg = Release|Any CPU
{{packageGuid}}.Release|Any CPU.Build.0 = Release|Any CPU
-{{#useSeperateModelProject}}
+{{#useSeparateModelProject}}
{B8D18F25-F379-4B87-ACCC-F8A17E0AED38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8D18F25-F379-4B87-ACCC-F8A17E0AED38}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8D18F25-F379-4B87-ACCC-F8A17E0AED38}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8D18F25-F379-4B87-ACCC-F8A17E0AED38}.Release|Any CPU.Build.0 = Release|Any CPU
-{{/useSeperateModelProject}}
+{{/useSeparateModelProject}}
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-validation-body.mustache b/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-validation-body.mustache
index ef92f2c3fbd4..99dae60bbe45 100644
--- a/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-validation-body.mustache
+++ b/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-validation-body.mustache
@@ -116,7 +116,7 @@ TODO validate regex of string using pattern variable. This has two challenges
{ {{! and I do a similar hack with currentValuePath... }}
const std::string currentValuePath = oldValuePath + "[" + std::to_string(i) + "]";
{{#items}}
- {{> model-validation-body }} {{! Recursively apply template to array - this is where things will probbaly go wrong }}
+ {{> model-validation-body }} {{! Recursively apply template to array - this is where things will probably go wrong }}
{{/items}}
i++;
}
diff --git a/modules/openapi-generator/src/main/resources/cpp-tizen-client/Doxyfile.mustache b/modules/openapi-generator/src/main/resources/cpp-tizen-client/Doxyfile.mustache
index e4fc0125bf00..230d7431dc4c 100644
--- a/modules/openapi-generator/src/main/resources/cpp-tizen-client/Doxyfile.mustache
+++ b/modules/openapi-generator/src/main/resources/cpp-tizen-client/Doxyfile.mustache
@@ -294,7 +294,7 @@ MARKDOWN_SUPPORT = YES
# When enabled doxygen tries to link words that correspond to documented
# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by by putting a % sign in front of the word
+# be prevented in individual cases by putting a % sign in front of the word
# or globally by setting AUTOLINK_SUPPORT to NO.
# The default value is: YES.
@@ -1397,7 +1397,7 @@ EXT_LINKS_IN_WINDOW = NO
FORMULA_FONTSIZE = 10
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are not
# supported properly for IE 6.0, but are supported on all modern browsers.
#
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ApiClient.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ApiClient.mustache
index 72cbbf86b7eb..7e54ed98b644 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ApiClient.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ApiClient.mustache
@@ -155,7 +155,7 @@ namespace {{packageName}}.Client
}
{{! NOTE: Any changes related to RestSharp should be done in this class. All other client classes are for extensibility by consumers.}}
///
- /// Provides a default implementation of an Api client (both synchronous and asynchronous implementatios),
+ /// Provides a default implementation of an Api client (both synchronous and asynchronous implementations),
/// encapsulating general REST accessor use cases.
///
{{>visibility}} partial class ApiClient : ISynchronousClient{{#supportsAsync}}, IAsynchronousClient{{/supportsAsync}}
@@ -164,7 +164,7 @@ namespace {{packageName}}.Client
///
/// Specifies the settings on a object.
- /// These settings can be adjusted to accomodate custom serialization rules.
+ /// These settings can be adjusted to accommodate custom serialization rules.
///
public JsonSerializerSettings SerializerSettings { get; set; } = new JsonSerializerSettings
{
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ClientUtils.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ClientUtils.mustache
index 3c04dcdbd0c1..776be1b052ff 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ClientUtils.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/ClientUtils.mustache
@@ -25,7 +25,7 @@ namespace {{packageName}}.Client
public static CompareLogic compareLogic;
///
- /// Static contstructor to initialise compareLogic.
+ /// Static constructor to initialise compareLogic.
///
static ClientUtils()
{
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/Configuration.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/Configuration.mustache
index c71c4260866a..91cd1c86eb65 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/Configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/Configuration.mustache
@@ -72,7 +72,7 @@ namespace {{packageName}}.Client
///
/// Gets or sets the API key based on the authentication name.
- /// This is the key and value comprising the "secret" for acessing an API.
+ /// This is the key and value comprising the "secret" for accessing an API.
///
/// The API key.
private IDictionary _apiKey;
@@ -469,7 +469,7 @@ namespace {{packageName}}.Client
}
else
{
- // use defualt value
+ // use default value
url = url.Replace("{" + variable.Key + "}", (string)serverVariables["default_value"]);
}
}
@@ -480,7 +480,7 @@ namespace {{packageName}}.Client
{{#hasHttpSignatureMethods}}
///
- /// Gets and Sets the HttpSigningConfiuration
+ /// Gets and Sets the HttpSigningConfiguration
///
public HttpSigningConfiguration HttpSigningConfiguration
{
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/HttpSigningConfiguration.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/HttpSigningConfiguration.mustache
index cc8c275e40bf..f5cc312c6fe5 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/HttpSigningConfiguration.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/HttpSigningConfiguration.mustache
@@ -18,7 +18,7 @@ namespace {{packageName}}.Client
{
#region
///
- /// Initailize the HashAlgorithm and SigningAlgorithm to default value
+ /// Initialize the HashAlgorithm and SigningAlgorithm to default value
///
public HttpSigningConfiguration()
{
@@ -238,7 +238,7 @@ namespace {{packageName}}.Client
headerValuesList.Add(string.Format("{0}: {1}", keyVal.Key, keyVal.Value));
}
- //Concatinate headers value separated by new line
+ //Concatenate headers value separated by new line
var headerValuesString = string.Join("\n", headerValuesList);
var signatureStringHash = GetStringHash(HashAlgorithm.ToString(), headerValuesString);
string headerSignatureStr = null;
@@ -361,7 +361,7 @@ namespace {{packageName}}.Client
private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
{
var derBytes = new List();
- byte derLength = 68; //default lenght for ECDSA code signinged bit 0x44
+ byte derLength = 68; //default length for ECDSA code signing bit 0x44
byte rbytesLength = 32; //R length 0x20
byte sbytesLength = 32; //S length 0x20
var rBytes = new List();
@@ -399,7 +399,7 @@ namespace {{packageName}}.Client
}
derBytes.Add(48); //start of the sequence 0x30
- derBytes.Add(derLength); //total length r lenth, type and r bytes
+ derBytes.Add(derLength); //total length r length, type and r bytes
derBytes.Add(2); //tag for integer
derBytes.Add(rbytesLength); //length of r
@@ -411,7 +411,7 @@ namespace {{packageName}}.Client
return derBytes.ToArray();
}
- private RSACryptoServiceProvider GetRSAProviderFromPemFile(string pemfile, SecureString keyPassPharse = null)
+ private RSACryptoServiceProvider GetRSAProviderFromPemFile(string pemfile, SecureString keyPassPhrase = null)
{
const string pempubheader = "-----BEGIN PUBLIC KEY-----";
const string pempubfooter = "-----END PUBLIC KEY-----";
@@ -431,7 +431,7 @@ namespace {{packageName}}.Client
if (isPrivateKeyFile)
{
- pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPharse);
+ pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPhrase);
if (pemkey == null)
{
return null;
@@ -441,7 +441,7 @@ namespace {{packageName}}.Client
return null;
}
- private byte[] ConvertPrivateKeyToBytes(string instr, SecureString keyPassPharse = null)
+ private byte[] ConvertPrivateKeyToBytes(string instr, SecureString keyPassPhrase = null)
{
const string pemprivheader = "-----BEGIN RSA PRIVATE KEY-----";
const string pemprivfooter = "-----END RSA PRIVATE KEY-----";
@@ -494,11 +494,11 @@ namespace {{packageName}}.Client
binkey = Convert.FromBase64String(encryptedstr);
}
catch (System.FormatException)
- { //data is not in base64 fromat
+ { //data is not in base64 format
return null;
}
- byte[] deskey = GetEncryptedKey(salt, keyPassPharse, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
+ byte[] deskey = GetEncryptedKey(salt, keyPassPhrase, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
if (deskey == null)
{
return null;
@@ -638,19 +638,19 @@ namespace {{packageName}}.Client
{
IntPtr unmanagedPswd = IntPtr.Zero;
int HASHLENGTH = 16; //MD5 bytes
- byte[] keymaterial = new byte[HASHLENGTH * miter]; //to store contatenated Mi hashed results
+ byte[] keymaterial = new byte[HASHLENGTH * miter]; //to store concatenated Mi hashed results
byte[] psbytes = new byte[secpswd.Length];
unmanagedPswd = Marshal.SecureStringToGlobalAllocAnsi(secpswd);
Marshal.Copy(unmanagedPswd, psbytes, 0, psbytes.Length);
Marshal.ZeroFreeGlobalAllocAnsi(unmanagedPswd);
- // --- contatenate salt and pswd bytes into fixed data array ---
+ // --- concatenate salt and pswd bytes into fixed data array ---
byte[] data00 = new byte[psbytes.Length + salt.Length];
Array.Copy(psbytes, data00, psbytes.Length); //copy the pswd bytes
Array.Copy(salt, 0, data00, psbytes.Length, salt.Length); //concatenate the salt bytes
- // ---- do multi-hashing and contatenate results D1, D2 ... into keymaterial bytes ----
+ // ---- do multi-hashing and concatenate results D1, D2 ... into keymaterial bytes ----
MD5 md5 = new MD5CryptoServiceProvider();
byte[] result = null;
byte[] hashtarget = new byte[HASHLENGTH + data00.Length]; //fixed length initial hashtarget
@@ -671,7 +671,7 @@ namespace {{packageName}}.Client
for (int i = 0; i < count; i++)
result = md5.ComputeHash(result);
- Array.Copy(result, 0, keymaterial, j * HASHLENGTH, result.Length); //contatenate to keymaterial
+ Array.Copy(result, 0, keymaterial, j * HASHLENGTH, result.Length); //concatenate to keymaterial
}
byte[] deskey = new byte[24];
Array.Copy(keymaterial, deskey, deskey.Length);
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/IReadableConfiguration.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/IReadableConfiguration.mustache
index 7c6487d92f84..bf142ffbac1e 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/IReadableConfiguration.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/IReadableConfiguration.mustache
@@ -39,7 +39,7 @@ namespace {{packageName}}.Client
///
/// Gets the date time format.
///
- /// Date time foramt.
+ /// Date time format.
string DateTimeFormat { get; }
///
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/RequestOptions.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/RequestOptions.mustache
index dc924c733c1a..0d3339f2f39e 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/RequestOptions.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/RequestOptions.mustache
@@ -25,7 +25,7 @@ namespace {{packageName}}.Client
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/git_push.sh.mustache
index 8b3f689c9121..228d338ebdbf 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/git_push.sh.mustache
@@ -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
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/ApiClient.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/ApiClient.mustache
index f6e850c8657e..2582692cc20d 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/ApiClient.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/ApiClient.mustache
@@ -159,7 +159,7 @@ namespace {{packageName}}.Client
}
}
///
- /// Provides a default implementation of an Api client (both synchronous and asynchronous implementatios),
+ /// Provides a default implementation of an Api client (both synchronous and asynchronous implementations),
/// encapsulating general REST accessor use cases.
///
///
@@ -175,7 +175,7 @@ namespace {{packageName}}.Client
///
/// Specifies the settings on a object.
- /// These settings can be adjusted to accomodate custom serialization rules.
+ /// These settings can be adjusted to accommodate custom serialization rules.
///
public JsonSerializerSettings SerializerSettings { get; set; } = new JsonSerializerSettings
{
@@ -192,8 +192,8 @@ namespace {{packageName}}.Client
///
/// Initializes a new instance of the , defaulting to the global configurations' base url.
- /// **IMPORTANT** This will also create an istance of HttpClient, which is less than ideal.
- /// It's better to reuse the HttpClient and HttpClientHander.
+ /// **IMPORTANT** This will also create an instance of HttpClient, which is less than ideal.
+ /// It's better to reuse the HttpClient and HttpClientHandler.
///
public ApiClient() :
this({{packageName}}.Client.GlobalConfiguration.Instance.BasePath)
@@ -202,8 +202,8 @@ namespace {{packageName}}.Client
///
/// Initializes a new instance of the .
- /// **IMPORTANT** This will also create an istance of HttpClient, which is less than ideal.
- /// It's better to reuse the HttpClient and HttpClientHander.
+ /// **IMPORTANT** This will also create an instance of HttpClient, which is less than ideal.
+ /// It's better to reuse the HttpClient and HttpClientHandler.
///
/// The target service's base path in URL format.
///
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/RequestOptions.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/RequestOptions.mustache
index bc5a8e348b8f..c656d8994523 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/RequestOptions.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/RequestOptions.mustache
@@ -25,7 +25,7 @@ namespace {{packageName}}.Client
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/api.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/api.mustache
index 20ddfe96b989..f0a1aa6497d9 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/api.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/api.mustache
@@ -106,8 +106,8 @@ namespace {{packageName}}.{{apiPackage}}
///
/// Initializes a new instance of the class.
- /// **IMPORTANT** This will also create an istance of HttpClient, which is less than ideal.
- /// It's better to reuse the HttpClient and HttpClientHander.
+ /// **IMPORTANT** This will also create an instance of HttpClient, which is less than ideal.
+ /// It's better to reuse the HttpClient and HttpClientHandler.
///
///
public {{classname}}() : this((string)null)
@@ -116,8 +116,8 @@ namespace {{packageName}}.{{apiPackage}}
///
/// Initializes a new instance of the class.
- /// **IMPORTANT** This will also create an istance of HttpClient, which is less than ideal.
- /// It's better to reuse the HttpClient and HttpClientHander.
+ /// **IMPORTANT** This will also create an instance of HttpClient, which is less than ideal.
+ /// It's better to reuse the HttpClient and HttpClientHandler.
///
/// The target service's base path in URL format.
///
@@ -138,8 +138,8 @@ namespace {{packageName}}.{{apiPackage}}
///
/// Initializes a new instance of the class using Configuration object.
- /// **IMPORTANT** This will also create an istance of HttpClient, which is less than ideal.
- /// It's better to reuse the HttpClient and HttpClientHander.
+ /// **IMPORTANT** This will also create an instance of HttpClient, which is less than ideal.
+ /// It's better to reuse the HttpClient and HttpClientHandler.
///
/// An instance of Configuration.
///
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/model.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/model.mustache
index 0de1e05e5140..bdd076c3f018 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/model.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/libraries/httpclient/model.mustache
@@ -34,11 +34,11 @@ using OpenAPIClientUtils = {{packageName}}.Client.ClientUtils;
using System.Reflection;
{{/-first}}
{{/oneOf}}
-{{#aneOf}}
+{{#anyOf}}
{{#-first}}
using System.Reflection;
{{/-first}}
-{{/aneOf}}
+{{/anyOf}}
namespace {{packageName}}.{{modelPackage}}
{
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelAnyOf.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelAnyOf.mustache
index 931f7646da8a..fbd9fe0441d2 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelAnyOf.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelAnyOf.mustache
@@ -59,7 +59,7 @@
{{#anyOf}}
///
- /// Get the actual instance of `{{{.}}}`. If the actual instanct is not `{{{.}}}`,
+ /// Get the actual instance of `{{{.}}}`. If the actual instance is not `{{{.}}}`,
/// the InvalidClassException will be thrown
///
/// An instance of {{{.}}}
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelOneOf.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelOneOf.mustache
index d2d6e28b3f91..b3a5503cba4c 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelOneOf.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/modelOneOf.mustache
@@ -59,7 +59,7 @@
{{#oneOf}}
///
- /// Get the actual instance of `{{{.}}}`. If the actual instanct is not `{{{.}}}`,
+ /// Get the actual instance of `{{{.}}}`. If the actual instance is not `{{{.}}}`,
/// the InvalidClassException will be thrown
///
/// An instance of {{{.}}}
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/nuspec.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/nuspec.mustache
index 66254acffd40..b5740c962e5d 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/nuspec.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/nuspec.mustache
@@ -12,7 +12,7 @@
$author$
+ users to easily find other packages by the same owners. -->
$author$
false
false
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/RequestOptions.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/RequestOptions.mustache
index 40436b965771..928c5e740739 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/RequestOptions.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/RequestOptions.mustache
@@ -25,7 +25,7 @@ namespace {{packageName}}.Client
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiException.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiException.mustache
index 7777fd09c44a..c716cf25e999 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiException.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiException.mustache
@@ -29,7 +29,7 @@ namespace {{packageName}}.Client
public string RawContent { get; }
///
- /// Construct the ApiException from parts of the reponse
+ /// Construct the ApiException from parts of the response
///
///
///
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiResponse`1.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiResponse`1.mustache
index 1bcf4a841483..f37833790ed0 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiResponse`1.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/ApiResponse`1.mustache
@@ -82,7 +82,7 @@ namespace {{packageName}}.Client
#endregion Properties
///
- /// Construct the reponse using an HttpResponseMessage
+ /// Construct the response using an HttpResponseMessage
///
///
///
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/HttpSigningConfiguration.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/HttpSigningConfiguration.mustache
index 29ea235945d2..4e17cf240ef4 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/HttpSigningConfiguration.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/HttpSigningConfiguration.mustache
@@ -190,7 +190,7 @@ namespace {{packageName}}.Client
foreach (var keyVal in httpSignatureHeader)
headerValuesList.Add(string.Format("{0}: {1}", keyVal.Key, keyVal.Value));
- //Concatinate headers value separated by new line
+ //Concatenate headers value separated by new line
var headerValuesString = string.Join("\n", headerValuesList);
var signatureStringHash = GetStringHash(HashAlgorithm.ToString(), headerValuesString);
string{{nrt?}} headerSignatureStr = null;
@@ -318,7 +318,7 @@ namespace {{packageName}}.Client
private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
{
var derBytes = new List();
- byte derLength = 68; //default lenght for ECDSA code signinged bit 0x44
+ byte derLength = 68; //default length for ECDSA code signing bit 0x44
byte rbytesLength = 32; //R length 0x20
byte sbytesLength = 32; //S length 0x20
var rBytes = new List();
@@ -353,7 +353,7 @@ namespace {{packageName}}.Client
}
derBytes.Add(48); //start of the sequence 0x30
- derBytes.Add(derLength); //total length r lenth, type and r bytes
+ derBytes.Add(derLength); //total length r length, type and r bytes
derBytes.Add(2); //tag for integer
derBytes.Add(rbytesLength); //length of r
@@ -365,7 +365,7 @@ namespace {{packageName}}.Client
return derBytes.ToArray();
}
- private RSACryptoServiceProvider{{nrt?}} GetRSAProviderFromPemFile(String pemfile, SecureString{{nrt?}} keyPassPharse = null)
+ private RSACryptoServiceProvider{{nrt?}} GetRSAProviderFromPemFile(String pemfile, SecureString{{nrt?}} keyPassPhrase = null)
{
const String pempubheader = "-----BEGIN PUBLIC KEY-----";
const String pempubfooter = "-----END PUBLIC KEY-----";
@@ -382,7 +382,7 @@ namespace {{packageName}}.Client
if (isPrivateKeyFile)
{
- pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPharse);
+ pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPhrase);
if (pemkey == null)
return null;
@@ -392,7 +392,7 @@ namespace {{packageName}}.Client
return null;
}
- private byte[]{{nrt?}} ConvertPrivateKeyToBytes(String instr, SecureString{{nrt?}} keyPassPharse = null)
+ private byte[]{{nrt?}} ConvertPrivateKeyToBytes(String instr, SecureString{{nrt?}} keyPassPhrase = null)
{
const String pemprivheader = "-----BEGIN RSA PRIVATE KEY-----";
const String pemprivfooter = "-----END RSA PRIVATE KEY-----";
@@ -440,12 +440,12 @@ namespace {{packageName}}.Client
binkey = Convert.FromBase64String(encryptedstr);
}
catch (System.FormatException)
- { //data is not in base64 fromat
+ { //data is not in base64 format
return null;
}
- // TODO: what do we do here if keyPassPharse is null?
- byte[] deskey = GetEncryptedKey(salt, keyPassPharse{{nrt!}}, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
+ // TODO: what do we do here if keyPassPhrase is null?
+ byte[] deskey = GetEncryptedKey(salt, keyPassPhrase{{nrt!}}, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
if (deskey == null)
return null;
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.mustache
index 28ace9bfd342..e76936568a71 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.mustache
@@ -170,7 +170,7 @@ Class | Method | HTTP request | Description
- modelTests: {{generateModelTests}}
- withXml: {{withXml}}
-## [OpenApi Generator Parameteres](https://openapi-generator.tech/docs/generators/csharp-netcore)
+## [OpenApi Generator Parameters](https://openapi-generator.tech/docs/generators/csharp-netcore)
- allowUnicodeIdentifiers: {{allowUnicodeIdentifiers}}
- apiName: {{apiName}}
- caseInsensitiveResponseHeaders: {{caseInsensitiveResponseHeaders}}
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/api.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/api.mustache
index 5e2bb67c23b8..439b19cad357 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/api.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/api.mustache
@@ -377,7 +377,7 @@ namespace {{packageName}}.{{apiPackage}}
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -395,7 +395,7 @@ namespace {{packageName}}.{{apiPackage}}
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}{{^-last}}
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/git_push.ps1.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/git_push.ps1.mustache
index 0f4084ef8179..f263c2bc5977 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/git_push.ps1.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/git_push.ps1.mustache
@@ -49,7 +49,7 @@ Set-StrictMode -Version 3.0
if ($Help){
Write-Output "
This script will initialize a git repository, then add and commit all files.
- The local repository will then be pushed to your prefered git provider.
+ The local repository will then be pushed to your preferred git provider.
If the remote repository does not exist yet and you are using GitHub,
the repository will be created for you provided you have the GitHub CLI installed.
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/httpclient/RequestOptions.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/httpclient/RequestOptions.mustache
index 62859649ced3..25e76d03d21e 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/httpclient/RequestOptions.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/httpclient/RequestOptions.mustache
@@ -25,7 +25,7 @@ namespace {{packageName}}.Client
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_serializer.mustache b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_serializer.mustache
index d3b3d8916ca6..a0528cd14916 100644
--- a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_serializer.mustache
+++ b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_serializer.mustache
@@ -262,7 +262,7 @@ class _${{classname}}Serializer implements PrimitiveSerializer<{{classname}}> {
parent classes don't have builder
so they must delegate to another serializer using
1) discriminator + mapping
- 2) concrete implmentation ($classname)
+ 2) concrete implementation ($classname)
}}
{{#hasDiscriminatorWithNonEmptyMapping}}
{{#discriminator}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/README.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/README.mustache
index ea684b998481..b007ccc48140 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/README.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/README.mustache
@@ -70,8 +70,8 @@ val requestQueue: Lazy = lazy(initializer = {
The above constructor for each api allows the following to be customized
- A custom context, so either a singleton request queue or different scope can be created - see
https://developer.android.com/training/volley/requestqueue#singleton
-- An overrideable request queue - which in turn can have a custom http url stack passed to it
-- An overrideable request factory constructor call, or a request factory that can be overridden by a custom template, with
+- An overridable request queue - which in turn can have a custom http url stack passed to it
+- An overridable request factory constructor call, or a request factory that can be overridden by a custom template, with
custom header factory, request post processors and custom gson adapters injected.
#### Overriding request generation
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/auth/oauth.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/auth/oauth.mustache
index 78ffc6a2d7c5..81a285bc4782 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/auth/oauth.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/auth/oauth.mustache
@@ -1,5 +1,5 @@
val basicAuthHeaderFactoryBuilder = { username: String?, password: String? ->
{
- throw NotImplementedError("OAuth security scheme header factory not impemented yet - see open api generator auth/oauth.mustache")
+ throw NotImplementedError("OAuth security scheme header factory not implemented yet - see open api generator auth/oauth.mustache")
mapOf("" to "")}
}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/request/RequestFactory.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/request/RequestFactory.mustache
index e9bc5d21283a..46507bff1b5d 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/request/RequestFactory.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/request/RequestFactory.mustache
@@ -40,7 +40,7 @@ class RequestFactory(private val headerFactories : List<() -> Map (acc + factory.invoke()).toMutableMap() }
// If we decide to support auth parameters in the url, then you will reference them by supplying a url string
- // with known variable name refernces in the string. We will then apply
+ // with known variable name references in the string. We will then apply
val updatedUrl = if (!queryParams.isNullOrEmpty()) {
queryParams.asSequence().fold("$url?") {acc, param ->
"$acc${escapeString(param.key)}=${escapeString(param.value)}&"
diff --git a/modules/openapi-generator/src/main/resources/nodejs-express-server/utils/openapiRouter.mustache b/modules/openapi-generator/src/main/resources/nodejs-express-server/utils/openapiRouter.mustache
index a0651549de3f..4c7bbdca7f3c 100644
--- a/modules/openapi-generator/src/main/resources/nodejs-express-server/utils/openapiRouter.mustache
+++ b/modules/openapi-generator/src/main/resources/nodejs-express-server/utils/openapiRouter.mustache
@@ -19,7 +19,7 @@ function handleError(err, request, response, next) {
* middleware. All parameters are collected in the request.swagger.values key-value object
*
* The assumption is that security handlers have already verified and allowed access
- * to this path. If the business-logic of a particular path is dependant on authentication
+ * to this path. If the business-logic of a particular path is dependent on authentication
* parameters (e.g. scope checking) - it is recommended to define the authentication header
* as one of the parameters expected in the OpenAPI/Swagger document.
*
diff --git a/modules/openapi-generator/src/main/resources/php-slim-server/index.mustache b/modules/openapi-generator/src/main/resources/php-slim-server/index.mustache
index 322fc8883d3a..5020bcad22f3 100644
--- a/modules/openapi-generator/src/main/resources/php-slim-server/index.mustache
+++ b/modules/openapi-generator/src/main/resources/php-slim-server/index.mustache
@@ -64,7 +64,7 @@ $config['settings'] = [
// 'addContentLengthHeader' => true,
/**
- * Filename for caching the FastRoute routes. Must be set to to a valid filename within
+ * Filename for caching the FastRoute routes. Must be set to a valid filename within
* a writeable directory. If the file does not exist, then it is created with the correct
* cache information on first run.
* Set to false to disable the FastRoute cache system.
diff --git a/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache b/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
index 5cd224a6e041..6639723ec508 100644
--- a/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
+++ b/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
@@ -436,7 +436,7 @@ class ObjectSerializer
}
if ($class === '\DateTime') {
- // Some API's return an invalid, empty string as a
+ // Some APIs return an invalid, empty string as a
// date-time property. DateTime::__construct() will return
// the current time for empty input which is probably not
// what is meant. The invalid empty string is probably to
@@ -446,7 +446,7 @@ class ObjectSerializer
try {
return new \DateTime($data);
} catch (\Exception $exception) {
- // Some API's return a date-time with too high nanosecond
+ // Some APIs return a date-time with too high nanosecond
// precision for php's DateTime to handle.
// With provided regexp 6 digits of microseconds saved
return new \DateTime(self::sanitizeTimestamp($data));
diff --git a/modules/openapi-generator/src/main/resources/powershell/http_signature_auth.mustache b/modules/openapi-generator/src/main/resources/powershell/http_signature_auth.mustache
index 0206a18d7dee..532eb1a88fb5 100644
--- a/modules/openapi-generator/src/main/resources/powershell/http_signature_auth.mustache
+++ b/modules/openapi-generator/src/main/resources/powershell/http_signature_auth.mustache
@@ -112,7 +112,7 @@ function Get-{{{apiNamePrefix}}}HttpSignedHeader {
-HashAlgorithmName $httpSigningConfiguration.HashAlgorithm `
-KeyPassPhrase $httpSigningConfiguration.KeyPassPhrase
}
- #Depricated
+ #Deprecated
<#$cryptographicScheme = Get-{{{apiNamePrefix}}}CryptographicScheme -SigningAlgorithm $httpSigningConfiguration.SigningAlgorithm `
-HashAlgorithm $httpSigningConfiguration.HashAlgorithm
#>
diff --git a/modules/openapi-generator/src/main/resources/protobuf-schema/README.mustache b/modules/openapi-generator/src/main/resources/protobuf-schema/README.mustache
index 0724e27a954e..ab3985ea36c2 100644
--- a/modules/openapi-generator/src/main/resources/protobuf-schema/README.mustache
+++ b/modules/openapi-generator/src/main/resources/protobuf-schema/README.mustache
@@ -24,9 +24,9 @@ Below are some usage examples for Go and Ruby. For other languages, please refer
### Go
```
# assuming `protoc-gen-go` has been installed with `go get -u github.com/golang/protobuf/protoc-gen-go`
-mkdir /var/tmp/go/{{{pacakgeName}}}
-protoc --go_out=/var/tmp/go/{{{pacakgeName}}} services/*
-protoc --go_out=/var/tmp/go/{{{pacakgeName}}} models/*
+mkdir /var/tmp/go/{{{packageName}}}
+protoc --go_out=/var/tmp/go/{{{packageName}}} services/*
+protoc --go_out=/var/tmp/go/{{{packageName}}} models/*
```
### Ruby
diff --git a/modules/openapi-generator/src/main/resources/python-aiohttp/README.mustache b/modules/openapi-generator/src/main/resources/python-aiohttp/README.mustache
index 42dd581c40e4..212961153cff 100644
--- a/modules/openapi-generator/src/main/resources/python-aiohttp/README.mustache
+++ b/modules/openapi-generator/src/main/resources/python-aiohttp/README.mustache
@@ -38,7 +38,7 @@ pytest
## Prevent file overriding
-After first generation, add edited files to _.openapi-generator-ignore_ to prevent generator to overwrite them. Typically:
+After first generation, add edited files to _.openapi-generator-ignore_ to prevent generator from overwriting them. Typically:
```
server/controllers/*
test/*
diff --git a/modules/openapi-generator/src/main/resources/python-prior/__init__models.mustache b/modules/openapi-generator/src/main/resources/python-prior/__init__models.mustache
index 76d91fc5d47f..6cbba3113d24 100644
--- a/modules/openapi-generator/src/main/resources/python-prior/__init__models.mustache
+++ b/modules/openapi-generator/src/main/resources/python-prior/__init__models.mustache
@@ -4,7 +4,7 @@
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
-# from from {{modelPackage}}.pet import Pet
+# from {{modelPackage}}.pet import Pet
# or import this package, but before doing it, use:
# import sys
# sys.setrecursionlimit(n)
diff --git a/modules/openapi-generator/src/main/resources/python/__init__models.handlebars b/modules/openapi-generator/src/main/resources/python/__init__models.handlebars
index 31eac9cd5440..0899faf1da1d 100644
--- a/modules/openapi-generator/src/main/resources/python/__init__models.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/__init__models.handlebars
@@ -6,7 +6,7 @@
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
-# from from {{packageName}}.{{modelPackage}}.pet import Pet
+# from {{packageName}}.{{modelPackage}}.pet import Pet
# or import this package, but before doing it, use:
# import sys
# sys.setrecursionlimit(n)
diff --git a/modules/openapi-generator/src/main/resources/python/api_client.handlebars b/modules/openapi-generator/src/main/resources/python/api_client.handlebars
index 4379c88b823c..75d90cd2b1bb 100644
--- a/modules/openapi-generator/src/main/resources/python/api_client.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/api_client.handlebars
@@ -1250,9 +1250,9 @@ class ApiClient:
# The HTTP signature scheme requires multiple HTTP headers
# that are calculated dynamically.
signing_info = self.configuration.signing_info
- querys = tuple()
+ queries = tuple()
auth_headers = signing_info.get_http_signature_headers(
- resource_path, method, headers, body, querys)
+ resource_path, method, headers, body, queries)
for key, value in auth_headers.items():
headers.add(key, value)
{{/if}}
diff --git a/modules/openapi-generator/src/main/resources/python/configuration.handlebars b/modules/openapi-generator/src/main/resources/python/configuration.handlebars
index 8837fa9515df..26f940dde15a 100644
--- a/modules/openapi-generator/src/main/resources/python/configuration.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/configuration.handlebars
@@ -134,7 +134,7 @@ conf = {{{packageName}}}.Configuration(
'Authorization' header, which is used to carry the signature.
One may be tempted to sign all headers by default, but in practice it rarely works.
- This is beccause explicit proxies, transparent proxies, TLS termination endpoints or
+ This is because explicit proxies, transparent proxies, TLS termination endpoints or
load balancers may add/modify/remove headers. Include the HTTP headers that you know
are not going to be modified in transit.
@@ -328,7 +328,7 @@ conf = {{{packageName}}}.Configuration(
self._disabled_client_side_validations = s
{{#if hasHttpSignatureMethods}}
if name == "signing_info" and value is not None:
- # Ensure the host paramater from signing info is the same as
+ # Ensure the host parameter from signing info is the same as
# Configuration.host.
value.host = self.host
{{/if}}
diff --git a/modules/openapi-generator/src/main/resources/python/git_push.sh.handlebars b/modules/openapi-generator/src/main/resources/python/git_push.sh.handlebars
index 8b3f689c9121..228d338ebdbf 100644
--- a/modules/openapi-generator/src/main/resources/python/git_push.sh.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/git_push.sh.handlebars
@@ -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
diff --git a/modules/openapi-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-generator/src/main/resources/python/schemas.handlebars
index e61dd99ac708..2971f2898576 100644
--- a/modules/openapi-generator/src/main/resources/python/schemas.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/schemas.handlebars
@@ -378,7 +378,7 @@ class Schema:
_validate_oapg returns a key value pair
where the key is the path to the item, and the value will be the required manufactured class
made out of the matching schemas
- 2. value is an instance of the the correct schema type
+ 2. value is an instance of the correct schema type
the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type
for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas
and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned
@@ -861,7 +861,7 @@ class ValidatorBase:
schema_keyword not in configuration._disabled_client_side_validations)
@staticmethod
- def _raise_validation_errror_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""):
+ def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""):
raise ApiValueError(
"Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format(
value=value,
@@ -956,7 +956,7 @@ class StrBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('maxLength', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'max_length') and
len(arg) > cls.MetaOapg.max_length):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="length must be less than or equal to",
constraint_value=cls.MetaOapg.max_length,
@@ -966,7 +966,7 @@ class StrBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('minLength', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'min_length') and
len(arg) < cls.MetaOapg.min_length):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="length must be greater than or equal to",
constraint_value=cls.MetaOapg.min_length,
@@ -981,14 +981,14 @@ class StrBase(ValidatorBase):
if flags != 0:
# Don't print the regex flags if the flags are not
# specified in the OAS document.
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must match regular expression",
constraint_value=regex_dict['pattern'],
path_to_item=validation_metadata.path_to_item,
additional_txt=" with flags=`{}`".format(flags)
)
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must match regular expression",
constraint_value=regex_dict['pattern'],
@@ -1204,7 +1204,7 @@ class NumberBase(ValidatorBase):
return self._as_float
except AttributeError:
if self.as_tuple().exponent >= 0:
- raise ApiValueError(f'{self} is not an float')
+ raise ApiValueError(f'{self} is not a float')
self._as_float = float(self)
return self._as_float
@@ -1221,7 +1221,7 @@ class NumberBase(ValidatorBase):
multiple_of_value = cls.MetaOapg.multiple_of
if (not (float(arg) / multiple_of_value).is_integer()):
# Note 'multipleOf' will be as good as the floating point arithmetic.
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="value must be a multiple of",
constraint_value=multiple_of_value,
@@ -1242,7 +1242,7 @@ class NumberBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('exclusiveMaximum', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'exclusive_maximum') and
arg >= cls.MetaOapg.exclusive_maximum):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must be a value less than",
constraint_value=cls.MetaOapg.exclusive_maximum,
@@ -1252,7 +1252,7 @@ class NumberBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('maximum', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'inclusive_maximum') and
arg > cls.MetaOapg.inclusive_maximum):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must be a value less than or equal to",
constraint_value=cls.MetaOapg.inclusive_maximum,
@@ -1262,7 +1262,7 @@ class NumberBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('exclusiveMinimum', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'exclusive_minimum') and
arg <= cls.MetaOapg.exclusive_minimum):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must be a value greater than",
constraint_value=cls.MetaOapg.exclusive_maximum,
@@ -1272,7 +1272,7 @@ class NumberBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('minimum', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'inclusive_minimum') and
arg < cls.MetaOapg.inclusive_minimum):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="must be a value greater than or equal to",
constraint_value=cls.MetaOapg.inclusive_minimum,
@@ -1340,7 +1340,7 @@ class ListBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('maxItems', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'max_items') and
len(arg) > cls.MetaOapg.max_items):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="number of items must be less than or equal to",
constraint_value=cls.MetaOapg.max_items,
@@ -1350,7 +1350,7 @@ class ListBase(ValidatorBase):
if (cls._is_json_validation_enabled_oapg('minItems', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'min_items') and
len(arg) < cls.MetaOapg.min_items):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="number of items must be greater than or equal to",
constraint_value=cls.MetaOapg.min_items,
@@ -1361,7 +1361,7 @@ class ListBase(ValidatorBase):
hasattr(cls.MetaOapg, 'unique_items') and cls.MetaOapg.unique_items and arg):
unique_items = set(arg)
if len(arg) > len(unique_items):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="duplicate items were found, and the tuple must not contain duplicates because",
constraint_value='unique_items==True',
@@ -1604,7 +1604,7 @@ class DictBase(Discriminable, ValidatorBase):
if (cls._is_json_validation_enabled_oapg('maxProperties', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'max_properties') and
len(arg) > cls.MetaOapg.max_properties):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="number of properties must be less than or equal to",
constraint_value=cls.MetaOapg.max_properties,
@@ -1614,7 +1614,7 @@ class DictBase(Discriminable, ValidatorBase):
if (cls._is_json_validation_enabled_oapg('minProperties', validation_metadata.configuration) and
hasattr(cls.MetaOapg, 'min_properties') and
len(arg) < cls.MetaOapg.min_properties):
- cls._raise_validation_errror_message_oapg(
+ cls._raise_validation_error_message_oapg(
value=arg,
constraint_msg="number of properties must be greater than or equal to",
constraint_value=cls.MetaOapg.min_properties,
diff --git a/modules/openapi-generator/src/main/resources/python/signing.handlebars b/modules/openapi-generator/src/main/resources/python/signing.handlebars
index 26d2b8cb37c9..a853a998ef4f 100644
--- a/modules/openapi-generator/src/main/resources/python/signing.handlebars
+++ b/modules/openapi-generator/src/main/resources/python/signing.handlebars
@@ -334,7 +334,7 @@ class HttpSigningConfiguration(object):
:return: A tuple of (digest, prefix).
The digest is a hashing object that contains the cryptographic digest of
the HTTP request.
- The prefix is a string that identifies the cryptographc hash. It is used
+ The prefix is a string that identifies the cryptographic hash. It is used
to generate the 'Digest' header as specified in RFC 3230.
"""
if self.hash_algorithm == HASH_SHA512:
diff --git a/modules/openapi-generator/src/main/resources/r/ApiResponse.mustache b/modules/openapi-generator/src/main/resources/r/ApiResponse.mustache
index ca8c3f785824..c2e9eb5be477 100644
--- a/modules/openapi-generator/src/main/resources/r/ApiResponse.mustache
+++ b/modules/openapi-generator/src/main/resources/r/ApiResponse.mustache
@@ -6,7 +6,7 @@
#' @field content The deserialized response body.
#' @field response The raw response from the endpoint.
#' @field status_code The HTTP response status code.
-#' @field status_code_desc The brief descriptoin of the HTTP response status code.
+#' @field status_code_desc The brief description of the HTTP response status code.
#' @field headers The HTTP response headers.
#' @export
ApiResponse <- R6::R6Class(
diff --git a/modules/openapi-generator/src/main/resources/r/api.mustache b/modules/openapi-generator/src/main/resources/r/api.mustache
index a49694f8a073..46067f6d5280 100644
--- a/modules/openapi-generator/src/main/resources/r/api.mustache
+++ b/modules/openapi-generator/src/main/resources/r/api.mustache
@@ -386,7 +386,7 @@
# check if items are unique
if (!identical(`{{{paramName}}}`, unique(`{{{paramName}}}`))) {
{{#useDefaultExceptionHandling}}
- stop("Invalid value for {{{paramName}}} when calling {{classname}}${{operationId}}. Items must be unqiue.")
+ stop("Invalid value for {{{paramName}}} when calling {{classname}}${{operationId}}. Items must be unique.")
{{/useDefaultExceptionHandling}}
{{#useRlangExceptionHandling}}
rlang::abort(message = "Invalid value for `{{paramName}}` when calling {{classname}}${{operationId}}. Items must be unique.",
diff --git a/modules/openapi-generator/src/main/resources/r/api_client.mustache b/modules/openapi-generator/src/main/resources/r/api_client.mustache
index 395ff41be4e7..9530234c8c49 100644
--- a/modules/openapi-generator/src/main/resources/r/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/r/api_client.mustache
@@ -411,10 +411,10 @@ ApiClient <- R6::R6Class(
}
return_obj
},
- #' Return a propery header (for accept or content-type).
+ #' Return a property header (for accept or content-type).
#'
#' @description
- #' Return a propery header (for accept or content-type). If JSON-related MIME is found,
+ #' Return a property header (for accept or content-type). If JSON-related MIME is found,
#' return it. Otherwise, return the first one, if any.
#'
#' @param headers A list of headers
diff --git a/modules/openapi-generator/src/main/resources/r/libraries/httr2/api_client.mustache b/modules/openapi-generator/src/main/resources/r/libraries/httr2/api_client.mustache
index fd9ddd884b6e..decfe50f1d05 100644
--- a/modules/openapi-generator/src/main/resources/r/libraries/httr2/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/r/libraries/httr2/api_client.mustache
@@ -171,7 +171,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters to upload files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -202,7 +202,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters for uploading files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -416,10 +416,10 @@ ApiClient <- R6::R6Class(
}
return_obj
},
- #' Return a propery header (for accept or content-type).
+ #' Return a property header (for accept or content-type).
#'
#' @description
- #' Return a propery header (for accept or content-type). If JSON-related MIME is found,
+ #' Return a property header (for accept or content-type). If JSON-related MIME is found,
#' return it. Otherwise, return the first one, if any.
#'
#' @param headers A list of headers
diff --git a/modules/openapi-generator/src/main/resources/r/modelAnyOf.mustache b/modules/openapi-generator/src/main/resources/r/modelAnyOf.mustache
index 84cc761b407a..f16a9cd2d1b6 100644
--- a/modules/openapi-generator/src/main/resources/r/modelAnyOf.mustache
+++ b/modules/openapi-generator/src/main/resources/r/modelAnyOf.mustache
@@ -169,7 +169,7 @@
## Uncomment below to unlock the class to allow modifications of the method or field
#{{classname}}$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#{{classname}}$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/modules/openapi-generator/src/main/resources/r/modelGeneric.mustache b/modules/openapi-generator/src/main/resources/r/modelGeneric.mustache
index 451f41a5b426..a75dd49ae007 100644
--- a/modules/openapi-generator/src/main/resources/r/modelGeneric.mustache
+++ b/modules/openapi-generator/src/main/resources/r/modelGeneric.mustache
@@ -46,7 +46,7 @@
#' @param {{name}} {{#lambdaRdocEscape}}{{{description}}}{{/lambdaRdocEscape}}{{^description}}{{{name}}}{{/description}}{{#defaultValue}}. Default to {{{.}}}.{{/defaultValue}}
{{/optionalVars}}
{{#isAdditionalPropertiesTrue}}
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
{{/isAdditionalPropertiesTrue}}
#' @param ... Other optional arguments.
#' @export
@@ -673,7 +673,7 @@
## Uncomment below to unlock the class to allow modifications of the method or field
# {{classname}}$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# {{classname}}$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/modules/openapi-generator/src/main/resources/r/modelOneOf.mustache b/modules/openapi-generator/src/main/resources/r/modelOneOf.mustache
index da27bdfb2d7c..f692ca1288be 100644
--- a/modules/openapi-generator/src/main/resources/r/modelOneOf.mustache
+++ b/modules/openapi-generator/src/main/resources/r/modelOneOf.mustache
@@ -221,7 +221,7 @@
## Uncomment below to unlock the class to allow modifications of the method or field
#{{classname}}$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#{{classname}}$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/modules/openapi-generator/src/main/resources/rust-server/models.mustache b/modules/openapi-generator/src/main/resources/rust-server/models.mustache
index 30be5a54f35f..f7b9c395a526 100644
--- a/modules/openapi-generator/src/main/resources/rust-server/models.mustache
+++ b/modules/openapi-generator/src/main/resources/rust-server/models.mustache
@@ -12,7 +12,7 @@ use crate::header;
{{/description}}
{{#isEnum}}
/// Enumeration of values.
-/// Since this enum's variants do not hold data, we can easily define them them as `#[repr(C)]`
+/// Since this enum's variants do not hold data, we can easily define them as `#[repr(C)]`
/// which helps with FFI.
#[allow(non_camel_case_types)]
#[repr(C)]
diff --git a/modules/openapi-generator/src/main/resources/scala-akka-client/apiInvoker.mustache b/modules/openapi-generator/src/main/resources/scala-akka-client/apiInvoker.mustache
index ae815e21c637..13a3e6d0e969 100644
--- a/modules/openapi-generator/src/main/resources/scala-akka-client/apiInvoker.mustache
+++ b/modules/openapi-generator/src/main/resources/scala-akka-client/apiInvoker.mustache
@@ -39,7 +39,7 @@ object ApiInvoker {
* Allows request execution without calling apiInvoker.execute(request)
* request.response can be used to get a future of the ApiResponse generated.
* request.result can be used to get a future of the expected ApiResponse content. If content doesn't match, a
- * Future will failed with a ClassCastException
+ * Future will fail with a ClassCastException
*
* @param request the apiRequest to be executed
*/
diff --git a/modules/openapi-generator/src/main/resources/scalatra/web.xml b/modules/openapi-generator/src/main/resources/scalatra/web.xml
index bf99b058082c..3003f2941be9 100644
--- a/modules/openapi-generator/src/main/resources/scalatra/web.xml
+++ b/modules/openapi-generator/src/main/resources/scalatra/web.xml
@@ -7,7 +7,7 @@
diff --git a/modules/openapi-generator/src/main/resources/swift5/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift5/APIHelper.mustache
index 19763896035d..95cf790b2802 100644
--- a/modules/openapi-generator/src/main/resources/swift5/APIHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift5/APIHelper.mustache
@@ -65,7 +65,7 @@ import Vapor{{/useVapor}}
/// maps all values from source to query parameters
///
- /// explode attribute is respected: collection values might be either joined or split up into seperate key value pairs
+ /// explode attribute is respected: collection values might be either joined or split up into separate key value pairs
{{#nonPublicApi}}internal{{/nonPublicApi}}{{^nonPublicApi}}public{{/nonPublicApi}} static func mapValuesToQueryItems(_ source: [String: (wrappedValue: Any?, isExplode: Bool)]) -> [URLQueryItem]? {
let destination = source.filter { $0.value.wrappedValue != nil }.reduce(into: [URLQueryItem]()) { result, item in
if let collection = item.value.wrappedValue as? [Any?] {
diff --git a/modules/openapi-generator/src/main/resources/swift5/api.mustache b/modules/openapi-generator/src/main/resources/swift5/api.mustache
index 8ae155fc073b..4efc57d9e345 100644
--- a/modules/openapi-generator/src/main/resources/swift5/api.mustache
+++ b/modules/openapi-generator/src/main/resources/swift5/api.mustache
@@ -284,7 +284,7 @@ extension {{projectName}}API {
defaultResponse: {{.}}{{/defaultResponse}}
{{#authMethods}}
- {{#isBasic}}BASIC{{/isBasic}}{{#isOAuth}}OAuth{{/isOAuth}}{{#isApiKey}}API Key{{/isApiKey}}:
- - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeaer}}(HEADER){{/isKeyInHeaer}}{{/keyParamName}}
+ - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeader}}(HEADER){{/isKeyInHeader}}{{/keyParamName}}
- name: {{name}}
{{/authMethods}}
{{#hasResponseHeaders}}
@@ -364,7 +364,7 @@ extension {{projectName}}API {
defaultResponse: {{.}}{{/defaultResponse}}
{{#authMethods}}
- {{#isBasic}}BASIC{{/isBasic}}{{#isOAuth}}OAuth{{/isOAuth}}{{#isApiKey}}API Key{{/isApiKey}}:
- - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeaer}}(HEADER){{/isKeyInHeaer}}{{/keyParamName}}
+ - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeader}}(HEADER){{/isKeyInHeader}}{{/keyParamName}}
- name: {{name}}
{{/authMethods}}
{{#hasResponseHeaders}}
@@ -408,7 +408,7 @@ extension {{projectName}}API {
- defaultResponse: {{.}}{{/defaultResponse}}
{{#authMethods}}
- {{#isBasic}}BASIC{{/isBasic}}{{#isOAuth}}OAuth{{/isOAuth}}{{#isApiKey}}API Key{{/isApiKey}}:
- - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeaer}}(HEADER){{/isKeyInHeaer}}{{/keyParamName}}
+ - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeader}}(HEADER){{/isKeyInHeader}}{{/keyParamName}}
- name: {{name}}
{{/authMethods}}
{{#hasResponseHeaders}}
diff --git a/modules/openapi-generator/src/main/resources/typescript-aurelia/README.md b/modules/openapi-generator/src/main/resources/typescript-aurelia/README.md
index 39a6c22b2e20..1475a466d64a 100644
--- a/modules/openapi-generator/src/main/resources/typescript-aurelia/README.md
+++ b/modules/openapi-generator/src/main/resources/typescript-aurelia/README.md
@@ -27,7 +27,7 @@ npm run build
```
#### NPM ####
-You may publish the module to NPM. In this case, you would be able to install the module as any other NPM module. It maybe useful to use [scoped packages](https://docs.npmjs.com/misc/scope).
+You may publish the module to NPM. In this case, you would be able to install the module as any other NPM module. It may be useful to use [scoped packages](https://docs.npmjs.com/misc/scope).
You can also use `npm link` to link the module. However, this would not modify `package.json` of the installing project, as such you would need to relink every time you deploy that project.
diff --git a/modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache b/modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
index 45e2a56434e8..b47cf55c452f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
@@ -135,7 +135,7 @@ export class BaseAPI {
credentials: this.configuration.credentials,
};
- const overridedInit: RequestInit = {
+ const overriddenInit: RequestInit = {
...initParams,
...(await initOverrideFn({
init: initParams,
@@ -144,13 +144,13 @@ export class BaseAPI {
};
const init: RequestInit = {
- ...overridedInit,
+ ...overriddenInit,
body:
- isFormData(overridedInit.body) ||
- overridedInit.body instanceof URLSearchParams ||
- isBlob(overridedInit.body)
- ? overridedInit.body
- : JSON.stringify(overridedInit.body),
+ isFormData(overriddenInit.body) ||
+ overriddenInit.body instanceof URLSearchParams ||
+ isBlob(overriddenInit.body)
+ ? overriddenInit.body
+ : JSON.stringify(overriddenInit.body),
};
return { url, init };
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java
index cfdc60aa0aa5..593a45266b58 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java
@@ -4209,7 +4209,7 @@ public void testUnalias() {
Assert.assertNotNull(openAPI.getComponents().getSchemas().get(ModelUtils.getSimpleRef(requestBodySchema.get$ref())));
Schema requestBodySchema2 = ModelUtils.unaliasSchema(openAPI, requestBodySchema);
- // get$ref is not null as unaliasSchem returns the schema with the last $ref to the actual schema
+ // get$ref is not null as unaliasSchema returns the schema with the last $ref to the actual schema
Assert.assertNotNull(requestBodySchema2.get$ref());
Assert.assertEquals(requestBodySchema2.get$ref(), "#/components/schemas/updatePetWithForm_request");
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java
index 1fa2e72554cd..7f5937ee7cb8 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java
@@ -715,8 +715,8 @@ public void arrayNullableDefaultValueTests() throws Exception {
"\nprivate @Valid List arrayThatIsNull = null;\n");
//And the generated model contains correct default value for array properties (required, nullable)
- TestUtils.ensureContainsFile(files, output, "src/gen/java/org/openapitools/model/BodyWithRequiredNullalble.java");
- assertFileContains(output.toPath().resolve("src/gen/java/org/openapitools/model/BodyWithRequiredNullalble.java"),
+ TestUtils.ensureContainsFile(files, output, "src/gen/java/org/openapitools/model/BodyWithRequiredNullable.java");
+ assertFileContains(output.toPath().resolve("src/gen/java/org/openapitools/model/BodyWithRequiredNullable.java"),
"\nprivate @Valid List arrayThatIsNull = null;\n");
//And the generated model contains correct default value for array properties (required)
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
index bec4ee24ce17..d97a3c6ab44b 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
@@ -859,8 +859,8 @@ public void doGeneratePathVariableForSimpleParam() throws IOException {
assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/BearsApi.java"), "@PathVariable");
assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/CamelsApi.java"), "allowableValues = \"sleeping, awake\"");
assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/CamelsApi.java"), "@PathVariable");
- assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/GirafesApi.java"), "allowableValues = \"0, 1\"");
- assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/GirafesApi.java"), "@PathVariable");
+ assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/GiraffesApi.java"), "allowableValues = \"0, 1\"");
+ assertFileContains(Paths.get(outputPath + "/src/main/java/org/openapitools/api/GiraffesApi.java"), "@PathVariable");
}
@Test
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift5/Swift5ModelEnumTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift5/Swift5ModelEnumTest.java
index 495e7ffa7d93..16493f7440b2 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift5/Swift5ModelEnumTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift5/Swift5ModelEnumTest.java
@@ -35,7 +35,7 @@
@SuppressWarnings("static-method")
public class Swift5ModelEnumTest {
- @Test(description = "convert a java model with an string enum and a default value")
+ @Test(description = "convert a java model with a string enum and a default value")
public void convertStringDefaultValueTest() {
final StringSchema enumSchema = new StringSchema();
enumSchema.setEnum(Arrays.asList("VALUE1", "VALUE2", "VALUE3"));
@@ -59,7 +59,7 @@ public void convertStringDefaultValueTest() {
Assert.assertTrue(enumVar.isEnum);
}
- @Test(description = "convert a java model with an reserved word string enum and a default value")
+ @Test(description = "convert a java model with a reserved word string enum and a default value")
public void convertReservedWordStringDefaultValueTest() {
final StringSchema enumSchema = new StringSchema();
enumSchema.setEnum(Arrays.asList("1st", "2nd", "3rd"));
@@ -107,7 +107,7 @@ public void convertIntegerDefaultValueTest() {
Assert.assertTrue(enumVar.isEnum);
}
- @Test(description = "convert a java model with an number enum and a default value")
+ @Test(description = "convert a java model with a number enum and a default value")
public void convertNumberDefaultValueTest() {
final NumberSchema enumSchema = new NumberSchema();
enumSchema.setEnum(Arrays.asList(new BigDecimal(10), new BigDecimal(100), new BigDecimal(1000)));
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/SharedTypeScriptTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/SharedTypeScriptTest.java
index cdd43b5b0905..7a769cc8d199 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/SharedTypeScriptTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/SharedTypeScriptTest.java
@@ -21,7 +21,7 @@
@Test(groups = {TYPESCRIPT})
public class SharedTypeScriptTest {
@Test
- public void typesInImportsAreSplittedTest() throws IOException {
+ public void typesInImportsAreSplitTest() throws IOException {
CodegenConfigurator config =
new CodegenConfigurator()
.setInputSpec("src/test/resources/split-import.json")
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/typescriptnode/TypeScriptNodeModelTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/typescriptnode/TypeScriptNodeModelTest.java
index 42b7fbe1b42a..23e342f4bc27 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/typescriptnode/TypeScriptNodeModelTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/typescriptnode/TypeScriptNodeModelTest.java
@@ -297,7 +297,7 @@ public void arrayModelAdditionalPropertiesArrayTest() {
Assert.assertEquals(cm.additionalPropertiesType, "Array");
}
- @Test(description = "convert an string additional properties model")
+ @Test(description = "convert a string additional properties model")
public void arrayModelAdditionalPropertiesStringTest() {
final Schema schema = new Schema()
.description("a map model")
@@ -313,7 +313,7 @@ public void arrayModelAdditionalPropertiesStringTest() {
Assert.assertEquals(cm.additionalPropertiesType, "string");
}
- @Test(description = "convert an complex additional properties model")
+ @Test(description = "convert a complex additional properties model")
public void arrayModelAdditionalPropertiesComplexTest() {
final Schema schema = new Schema()
.description("a map model")
diff --git a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json
index 5cadaaa2bc2b..efecc7ee6b48 100644
--- a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json
+++ b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json
@@ -471,7 +471,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json b/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json
index 99265c90dce2..e50678f6cdd0 100644
--- a/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json
+++ b/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json
@@ -360,7 +360,7 @@
"get" : {
"tags" : [ "store" ],
"summary" : "Find purchase order by ID",
- "description" : "For valid response try integer IDs with value >= 1 and <= 10.\\ \\ Other values will generated exceptions",
+ "description" : "For valid response try integer IDs with value >= 1 and <= 10.\\ \\ Other values will generate exceptions",
"operationId" : "getOrderById",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [ {
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json b/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json
index 964b47418d02..cc93278ae86a 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json
@@ -512,7 +512,7 @@
"store"
],
"summary":"Find purchase order by ID",
- "description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
+ "description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generate exceptions",
"operationId":"getOrderById",
"produces":[
"application/xml",
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml
index 9a7e2e9c5f95..b68004726ed8 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml
@@ -323,7 +323,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json
index 907bfd791136..9f8689649350 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json
@@ -471,7 +471,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml
index f6d9efaa4c95..77cbbb72c3b8 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml
@@ -325,7 +325,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml
index 4bf2f04d9680..118f66d37acb 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml
@@ -319,7 +319,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml
index 017e66b427e2..28d56302b7b8 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml
@@ -314,7 +314,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml
index be54ca6da2b6..4ef75a199d37 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml
@@ -109,7 +109,7 @@ paths:
securityDefinitions:
petstore_token:
type: oauth2
- description: security definition for using keycloak authentification with control site.
+ description: security definition for using keycloak authentication with control site.
authorizationUrl: https://keycloak-dev.business.stingray.com/auth/realms/CSLocal/protocol/openid-connect/auth
tokenUrl: https://keycloak-dev.business.stingray.com/auth/realms/CSLocal/protocol/openid-connect/token
x-jwksUrl: https://keycloak-dev.business.stingray.com/auth/realms/CSLocal/protocol/openid-connect/certs
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml
index 29c48ddc0bd0..babf447f2f1a 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml
@@ -511,7 +511,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml
index ad0619d82194..3f8a66e2a1bc 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml
@@ -329,7 +329,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
@@ -839,7 +839,7 @@ paths:
description: Integer in group parameters
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
index 5c9ae2bab700..91aa8232ec2b 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -329,7 +329,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
@@ -837,7 +837,7 @@ paths:
description: Integer in group parameters
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml
index a0b89db03139..cdc9e693f444 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml
@@ -321,7 +321,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml
index e102f7dc11fc..9a1152bb06ac 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml
@@ -323,7 +323,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.json b/modules/openapi-generator/src/test/resources/2_0/petstore.json
index 1eac6b45a4f9..5deda4b94ce5 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore.json
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore.json
@@ -482,7 +482,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml
index 5cc2f3becb99..36a05a5f6fe9 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml
@@ -321,7 +321,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json
index 5a60bffefc51..c48c37f0f9a4 100644
--- a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json
+++ b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json
@@ -482,7 +482,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/modules/openapi-generator/src/test/resources/2_0/python-prior/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/python-prior/petstore-with-fake-endpoints-models-for-testing.yaml
index 0fd88cfd5ae3..2e7206f91144 100644
--- a/modules/openapi-generator/src/test/resources/2_0/python-prior/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/python-prior/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -334,7 +334,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
@@ -842,7 +842,7 @@ paths:
description: Integer in group parameters
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/refs/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml
index 8f081c09dc15..3595c5b50361 100644
--- a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -321,7 +321,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
diff --git a/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml b/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml
index c7937795ced1..49a5b9612245 100644
--- a/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml
@@ -139,7 +139,7 @@ definitions:
baseAllOf:
type: object
properties:
- sampleBasePropery:
+ sampleBaseProperty:
type: string
aNullableContainer:
type: object
diff --git a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml
index dac5c2a933a3..27e1524dab47 100644
--- a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -322,7 +322,7 @@ paths:
tags:
- store
summary: Find purchase order by ID
- description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions'
+ description: 'For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions'
operationId: getOrderById
produces:
- application/xml
@@ -830,7 +830,7 @@ paths:
description: Integer in group parameters
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/asciidoc/api-docs.json b/modules/openapi-generator/src/test/resources/3_0/asciidoc/api-docs.json
index 5c7b2ce7aebf..0ef296a8fb1a 100644
--- a/modules/openapi-generator/src/test/resources/3_0/asciidoc/api-docs.json
+++ b/modules/openapi-generator/src/test/resources/3_0/asciidoc/api-docs.json
@@ -1340,7 +1340,7 @@
"example": "tlead1"
}
},
- "description": "a team member, could be project lead or an member with assigned tasks."
+ "description": "a team member, could be project lead or a member with assigned tasks."
},
"TaskWeek": {
"type": "object",
diff --git a/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
index 183eccd90bb0..c0ca877d6f98 100644
--- a/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml
index 89461f2c9755..65cc9bd313b1 100644
--- a/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml
index bf8072432a3d..0d98a3be3c96 100644
--- a/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml
@@ -326,7 +326,7 @@ paths:
- store
summary: Find purchase order by ID
description: For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/crystal/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/crystal/petstore.yaml
index 002eaa2e8ef7..385b3e0e5e72 100644
--- a/modules/openapi-generator/src/test/resources/3_0/crystal/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/crystal/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp-netcore/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp-netcore/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index afd5a8a62b7a..8f2b63eefe97 100644
--- a/modules/openapi-generator/src/test/resources/3_0/csharp-netcore/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/csharp-netcore/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -374,7 +374,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -859,7 +859,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index 7695348b2088..677a8ad31fb4 100644
--- a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -337,7 +337,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -822,7 +822,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/elm.yaml b/modules/openapi-generator/src/test/resources/3_0/elm.yaml
index 13dde8a98392..162d9b976127 100644
--- a/modules/openapi-generator/src/test/resources/3_0/elm.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/elm.yaml
@@ -160,7 +160,7 @@ components:
type: array
items:
type: string
- arrayOfPrimitve:
+ arrayOfPrimitive:
type: array
items:
$ref: "#/components/schemas/Primitive"
diff --git a/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index 4c7ed5960e14..b9bfe5a8ff95 100644
--- a/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -355,7 +355,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -838,9 +838,9 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
'5XX':
- description: Someting wrong
+ description: Something wrong
content:
'applicatino/json':
schema:
diff --git a/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-for-testing.yaml
index 4219f4004a23..aa139e062904 100644
--- a/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-for-testing.yaml
@@ -341,7 +341,7 @@ paths:
multipart/form-data:
schema:
$ref: '#/components/schemas/PetsForm'
- description: Object that that contains info about pets
+ description: Object that contains info about pets
required: true
responses:
'200':
@@ -402,7 +402,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-no-multipart-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-no-multipart-for-testing.yaml
index 3a10351b615f..012fecfb64d9 100644
--- a/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-no-multipart-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/helidon/petstore-no-multipart-for-testing.yaml
@@ -331,7 +331,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/inline_model_resolver.yaml b/modules/openapi-generator/src/test/resources/3_0/inline_model_resolver.yaml
index 0741d3b5d774..7f1d9bdd1dd7 100644
--- a/modules/openapi-generator/src/test/resources/3_0/inline_model_resolver.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/inline_model_resolver.yaml
@@ -293,7 +293,7 @@ paths:
type: object
/empty_example_on_string_models:
get:
- operationId: emptyExampleoOnStringTypeModels
+ operationId: emptyExampleOnStringTypeModels
responses:
'200':
description: OK
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_11772.yml b/modules/openapi-generator/src/test/resources/3_0/issue_11772.yml
index 98737ae11f86..7c1d941613f4 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_11772.yml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_11772.yml
@@ -200,7 +200,7 @@ components:
x-field-extra-annotation: |-
@org.springframework.data.annotation.LastModifiedDate
modifiedBy:
- description: The employee id (Kerberos) of the user that last modifed the project.
+ description: The employee id (Kerberos) of the user that last modified the project.
type: string
example: janedoe
x-field-extra-annotation: |-
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_13025.yaml b/modules/openapi-generator/src/test/resources/3_0/issue_13025.yaml
index 40cf1c1ed077..09e2f240cbb8 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_13025.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_13025.yaml
@@ -23,7 +23,7 @@ components:
nullable: true
items:
type: string
- BodyWithRequiredNullalble:
+ BodyWithRequiredNullable:
type: object
required:
- arrayThatIsNull
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_3248.yaml b/modules/openapi-generator/src/test/resources/3_0/issue_3248.yaml
index 701447d9f675..19d32b47180e 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_3248.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_3248.yaml
@@ -23,9 +23,9 @@ paths:
schema:
type: string
format: date
- /girafes:
+ /giraffes:
get:
- operationId: getGirafes
+ operationId: getGiraffes
parameters:
- $ref: '#/components/parameters/refStatus'
/zebras:
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_5381.yaml b/modules/openapi-generator/src/test/resources/3_0/issue_5381.yaml
index 192c958f7245..d37c8a79fba0 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_5381.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_5381.yaml
@@ -61,7 +61,7 @@ components:
id:
type: string
description: unique identifier
- description: Base schema for adressable entities
+ description: Base schema for addressable entities
Extensible:
type: object
properties:
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_6762.yaml b/modules/openapi-generator/src/test/resources/3_0/issue_6762.yaml
index 9df77efc7f95..c14a34b39af2 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_6762.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_6762.yaml
@@ -8,9 +8,9 @@ info:
name: Apache-2.0
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
paths:
- /girafes/{refStatus}:
+ /giraffes/{refStatus}:
get:
- operationId: getGirafes
+ operationId: getGiraffes
parameters:
- $ref: '#/components/parameters/refStatus'
/zebras/{status}:
diff --git a/modules/openapi-generator/src/test/resources/3_0/issue_7361.yaml b/modules/openapi-generator/src/test/resources/3_0/issue_7361.yaml
index 778a7f451fea..93cdc902ec72 100644
--- a/modules/openapi-generator/src/test/resources/3_0/issue_7361.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/issue_7361.yaml
@@ -11,7 +11,7 @@ paths: {}
components:
schemas:
FreeForm:
- description: this will not be generated because a map will be used when othe components or endpoints ref this schema
+ description: this will not be generated because a map will be used when other components or endpoints ref this schema
type: object
FreeFormInterface:
type: object
diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature-okhttp-gson.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature-okhttp-gson.yaml
index f0f4fa1da3ad..2e4c21702045 100644
--- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature-okhttp-gson.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature-okhttp-gson.yaml
@@ -337,7 +337,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -822,7 +822,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index 455a11dbe596..7c0f833e2f92 100644
--- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -337,7 +337,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -822,7 +822,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml
index fadeb02edb7c..cac52823a43f 100644
--- a/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -348,7 +348,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -837,7 +837,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/reserved_words.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/reserved_words.yaml
index d5074fd953c9..540607bb157c 100644
--- a/modules/openapi-generator/src/test/resources/3_0/kotlin/reserved_words.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/reserved_words.yaml
@@ -214,7 +214,7 @@ components:
$ref: '#/components/schemas/Linked'
Linked:
- description: Refernce links
+ description: Reference links
type: object
properties:
as:
diff --git a/modules/openapi-generator/src/test/resources/3_0/mapSchemas.yaml b/modules/openapi-generator/src/test/resources/3_0/mapSchemas.yaml
index b57ee87455d3..61338df89549 100644
--- a/modules/openapi-generator/src/test/resources/3_0/mapSchemas.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/mapSchemas.yaml
@@ -27,7 +27,7 @@ components:
properties:
id:
type: string
- withAdditinalProperties:
+ withAdditionalProperties:
$ref: '#/components/schemas/ModelWithAdditionalProperties'
ModelWithAdditionalProperties:
type: object
diff --git a/modules/openapi-generator/src/test/resources/3_0/micronaut/roles-extension-test.yaml b/modules/openapi-generator/src/test/resources/3_0/micronaut/roles-extension-test.yaml
index 1fa23eb9f626..8ec596652ad0 100644
--- a/modules/openapi-generator/src/test/resources/3_0/micronaut/roles-extension-test.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/micronaut/roles-extension-test.yaml
@@ -8,7 +8,7 @@ info:
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
tags:
- {name: books, description: Everything about books}
- - {name: users, description: Everyting about users}
+ - {name: users, description: Everything about users}
- {name: reviews, description: Everything related to book reviews}
paths:
/book/{bookName}:
diff --git a/modules/openapi-generator/src/test/resources/3_0/oneof_polymorphism_and_inheritance.yaml b/modules/openapi-generator/src/test/resources/3_0/oneof_polymorphism_and_inheritance.yaml
index dc916b1ee21e..b3f6990de5c2 100644
--- a/modules/openapi-generator/src/test/resources/3_0/oneof_polymorphism_and_inheritance.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/oneof_polymorphism_and_inheritance.yaml
@@ -60,7 +60,7 @@ components:
id:
type: string
description: unique identifier
- description: Base schema for adressable entities
+ description: Base schema for addressable entities
Extensible:
type: object
properties:
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml
index daf9e82cf1d9..2b8d0a7f5f83 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml
@@ -333,7 +333,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml
similarity index 99%
rename from modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml
rename to modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml
index b88deaac3ee1..0cc32cc1ad45 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml
@@ -316,7 +316,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index 31b34ae4e198..68c92decbc3a 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -355,7 +355,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -838,7 +838,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
index 4ff880612223..2401e56127f4 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
@@ -363,7 +363,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -852,7 +852,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml
index e0471993d5da..9196cafcafe4 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml
@@ -316,7 +316,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml
index 86e397c820b1..5020c07cede2 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml
@@ -324,7 +324,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.json b/modules/openapi-generator/src/test/resources/3_0/petstore.json
index 1873cd6516f0..7d07119f535f 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore.json
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore.json
@@ -497,7 +497,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"parameters": [
{
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml
index 9184e9c80644..0971c554414a 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml
index d57fd4e4f087..0b4c9927c36b 100644
--- a/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml
@@ -319,7 +319,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index a2e2981e6960..50056d0d050c 100644
--- a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -338,7 +338,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -823,7 +823,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/outer/number:
post:
tags:
diff --git a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml
index 025d072c7630..8f1ab1c858b2 100644
--- a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml
@@ -356,7 +356,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml
index 3db600f31eb6..67a1d25efb66 100644
--- a/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/python-prior/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/python-prior/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index 8d040105b98d..d6b0336a7535 100644
--- a/modules/openapi-generator/src/test/resources/3_0/python-prior/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/python-prior/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -300,7 +300,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -787,7 +787,7 @@ paths:
format: int64
responses:
'400':
- description: Someting wrong
+ description: Something wrong
/fake/refs/number:
post:
tags:
@@ -2290,7 +2290,7 @@ components:
- $ref: '#/components/schemas/banana'
fruitReq:
description: a schema where additionalProperties is on in the composed schema and off in the oneOf object schemas
- also, this schem accepts null as a value
+ also, this scheme accepts null as a value
oneOf:
- type: 'null'
- $ref: '#/components/schemas/appleReq'
diff --git a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index f6c3f327b188..e5b0be963300 100644
--- a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -338,7 +338,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: order_id
@@ -1130,7 +1130,7 @@ paths:
put:
tags:
- fake
- description: Ensures that original naming is used in endpoint params, that way we on't have collisions
+ description: Ensures that original naming is used in endpoint params, that way we won't have collisions
operationId: CaseSensitiveParams
parameters:
- name: someVar
@@ -1151,7 +1151,7 @@ paths:
responses:
"200":
description: Success
- /fake/test-query-paramters:
+ /fake/test-query-parameters:
put:
tags:
- fake
diff --git a/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml
index 86ef6839356c..fcddaaa8d608 100644
--- a/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml
@@ -398,7 +398,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/response-tests.yaml b/modules/openapi-generator/src/test/resources/3_0/response-tests.yaml
index e17881606db7..768bd2f8e8fd 100644
--- a/modules/openapi-generator/src/test/resources/3_0/response-tests.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/response-tests.yaml
@@ -300,7 +300,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/rust-server/no-example-v3.yaml b/modules/openapi-generator/src/test/resources/3_0/rust-server/no-example-v3.yaml
index 8c9e737c1ed7..cd9585a9db50 100644
--- a/modules/openapi-generator/src/test/resources/3_0/rust-server/no-example-v3.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/rust-server/no-example-v3.yaml
@@ -14,7 +14,7 @@ paths:
schema:
type: object
properties:
- propery:
+ property:
type: string
required:
- property
diff --git a/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
index 0c09dee9414c..e72f1e21e95b 100644
--- a/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml
index 1b354403e94e..261eafdaac24 100644
--- a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml
@@ -336,7 +336,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml
index 7087e8c5d36a..2f62e97a375d 100644
--- a/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/schema-unalias-test.yml b/modules/openapi-generator/src/test/resources/3_0/schema-unalias-test.yml
index ea757d8f08fb..f802e344717d 100644
--- a/modules/openapi-generator/src/test/resources/3_0/schema-unalias-test.yml
+++ b/modules/openapi-generator/src/test/resources/3_0/schema-unalias-test.yml
@@ -37,7 +37,7 @@ components:
properties:
visitDate:
default: 1971-12-19T03:39:57-08:00
- description: Updated last vist timestamp
+ description: Updated last visit timestamp
format: date-time
type: string
type: object
diff --git a/modules/openapi-generator/src/test/resources/3_0/server-required.yaml b/modules/openapi-generator/src/test/resources/3_0/server-required.yaml
index b6458d3da14a..33dd9ce64b3f 100644
--- a/modules/openapi-generator/src/test/resources/3_0/server-required.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/server-required.yaml
@@ -334,7 +334,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/date-time-parameter-types-for-testing.yml b/modules/openapi-generator/src/test/resources/3_0/spring/date-time-parameter-types-for-testing.yml
index f3568d0c3ee4..535d152fc96e 100644
--- a/modules/openapi-generator/src/test/resources/3_0/spring/date-time-parameter-types-for-testing.yml
+++ b/modules/openapi-generator/src/test/resources/3_0/spring/date-time-parameter-types-for-testing.yml
@@ -28,7 +28,7 @@ paths:
type: object
properties:
visitDate:
- description: Updated last vist timestamp
+ description: Updated last visit timestamp
type: string
default: '1971-12-19T03:39:57-08:00'
format: date-time
diff --git a/modules/openapi-generator/src/test/resources/3_0/unit_test_spec/3_0_3_unit_test_spec.yaml b/modules/openapi-generator/src/test/resources/3_0/unit_test_spec/3_0_3_unit_test_spec.yaml
index 053751510ff7..8d4632ac9764 100644
--- a/modules/openapi-generator/src/test/resources/3_0/unit_test_spec/3_0_3_unit_test_spec.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/unit_test_spec/3_0_3_unit_test_spec.yaml
@@ -4659,7 +4659,7 @@ components:
foo: []
bar: {}
valid: false
- DoesnTInvalidateOtherProperties:
+ DoesntInvalidateOtherProperties:
description: doesn't invalidate other properties
data:
quux: []
diff --git a/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml
index deb33e89a36b..85482061ee3d 100644
--- a/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml
@@ -353,7 +353,7 @@ paths:
- store
summary: Find purchase order by ID
description: For valid response try integer IDs with value >= 1 and <= 10. Other
- values will generated exceptions
+ values will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/3_1/petstore.yaml b/modules/openapi-generator/src/test/resources/3_1/petstore.yaml
index 6e83b7fdc24e..6c6de61d69bf 100644
--- a/modules/openapi-generator/src/test/resources/3_1/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_1/petstore.yaml
@@ -335,7 +335,7 @@ paths:
summary: Find purchase order by ID
description: >-
For valid response try integer IDs with value <= 5 or > 10. Other values
- will generated exceptions
+ will generate exceptions
operationId: getOrderById
parameters:
- name: orderId
diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/api.ts b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/api.ts
index 76bf4cba40a0..b1217b60710a 100644
--- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/api.ts
+++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/api.ts
@@ -537,7 +537,7 @@ export class StoreApi {
}
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched
*/
public getOrderById (orderId: string) : Promise<{ response: http.IncomingMessage; body: Order; }> {
diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-spec.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-spec.json
index 12fde32b7684..56cc763e463e 100644
--- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-spec.json
+++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-spec.json
@@ -318,7 +318,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/store.service.ts b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/store.service.ts
index 374f8f02e751..e6256586bf9d 100644
--- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/store.service.ts
+++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/store.service.ts
@@ -213,7 +213,7 @@ export class StoreService {
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json
index 2120a1a2f4ef..2276e57c1f8c 100644
--- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json
+++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json
@@ -486,7 +486,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/xml",
diff --git a/modules/openapi-generator/src/test/resources/petstore.json b/modules/openapi-generator/src/test/resources/petstore.json
index 1af2d2ae3eed..ad5523181b6a 100644
--- a/modules/openapi-generator/src/test/resources/petstore.json
+++ b/modules/openapi-generator/src/test/resources/petstore.json
@@ -471,7 +471,7 @@
"store"
],
"summary": "Find purchase order by ID",
- "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions",
+ "description": "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
"operationId": "getOrderById",
"produces": [
"application/json",
diff --git a/samples/client/others/csharp-netcore-complex-files/src/Org.OpenAPITools/Client/RequestOptions.cs b/samples/client/others/csharp-netcore-complex-files/src/Org.OpenAPITools/Client/RequestOptions.cs
index 7f440630dd5a..9b17590f1293 100644
--- a/samples/client/others/csharp-netcore-complex-files/src/Org.OpenAPITools/Client/RequestOptions.cs
+++ b/samples/client/others/csharp-netcore-complex-files/src/Org.OpenAPITools/Client/RequestOptions.cs
@@ -33,7 +33,7 @@ public class RequestOptions
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/samples/client/petstore/R-httr2-wrapper/.openapi-generator-ignore b/samples/client/petstore/R-httr2-wrapper/.openapi-generator-ignore
index c5fa491b4c55..deed424f8a15 100644
--- a/samples/client/petstore/R-httr2-wrapper/.openapi-generator-ignore
+++ b/samples/client/petstore/R-httr2-wrapper/.openapi-generator-ignore
@@ -5,7 +5,7 @@
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
+# You can make changes and tell Swagger Codegen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
diff --git a/samples/client/petstore/R-httr2-wrapper/R/allof_tag_api_response.R b/samples/client/petstore/R-httr2-wrapper/R/allof_tag_api_response.R
index 220d89ee5036..7cfd85917e92 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/allof_tag_api_response.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/allof_tag_api_response.R
@@ -37,7 +37,7 @@ AllofTagApiResponse <- R6::R6Class(
#' @param code code
#' @param type type
#' @param message message
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, `code` = NULL, `type` = NULL, `message` = NULL, additional_properties = NULL, ...) {
@@ -286,7 +286,7 @@ AllofTagApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# AllofTagApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# AllofTagApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/animal.R b/samples/client/petstore/R-httr2-wrapper/R/animal.R
index b506bced42f9..a1689f8394fd 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/animal.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/animal.R
@@ -30,7 +30,7 @@ Animal <- R6::R6Class(
#'
#' @param className className
#' @param color color. Default to "red".
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", additional_properties = NULL, ...) {
@@ -231,7 +231,7 @@ Animal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Animal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Animal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/any_of_pig.R b/samples/client/petstore/R-httr2-wrapper/R/any_of_pig.R
index 64e859d560bc..34736dc7f38c 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/any_of_pig.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/any_of_pig.R
@@ -174,7 +174,7 @@ AnyOfPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/any_of_primitive_type_test.R b/samples/client/petstore/R-httr2-wrapper/R/any_of_primitive_type_test.R
index da1e53ce4729..c34326a3161f 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/any_of_primitive_type_test.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/any_of_primitive_type_test.R
@@ -193,7 +193,7 @@ AnyOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/api_client.R b/samples/client/petstore/R-httr2-wrapper/R/api_client.R
index 3ca3cf9ce7f4..5ad09ce50e02 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/api_client.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/api_client.R
@@ -163,7 +163,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters to upload files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -194,7 +194,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters for uploading files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -405,10 +405,10 @@ ApiClient <- R6::R6Class(
}
return_obj
},
- #' Return a propery header (for accept or content-type).
+ #' Return a property header (for accept or content-type).
#'
#' @description
- #' Return a propery header (for accept or content-type). If JSON-related MIME is found,
+ #' Return a property header (for accept or content-type). If JSON-related MIME is found,
#' return it. Otherwise, return the first one, if any.
#'
#' @param headers A list of headers
diff --git a/samples/client/petstore/R-httr2-wrapper/R/api_response.R b/samples/client/petstore/R-httr2-wrapper/R/api_response.R
index 70431ae7e582..6cff851aed42 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/api_response.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/api_response.R
@@ -12,7 +12,7 @@
#' @field content The deserialized response body.
#' @field response The raw response from the endpoint.
#' @field status_code The HTTP response status code.
-#' @field status_code_desc The brief descriptoin of the HTTP response status code.
+#' @field status_code_desc The brief description of the HTTP response status code.
#' @field headers The HTTP response headers.
#' @export
ApiResponse <- R6::R6Class(
diff --git a/samples/client/petstore/R-httr2-wrapper/R/basque_pig.R b/samples/client/petstore/R-httr2-wrapper/R/basque_pig.R
index ac83042c8cfd..048bff78e75c 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/basque_pig.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/basque_pig.R
@@ -28,7 +28,7 @@ BasquePig <- R6::R6Class(
#'
#' @param className className
#' @param color color
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color`, additional_properties = NULL, ...) {
@@ -247,7 +247,7 @@ BasquePig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# BasquePig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# BasquePig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/cat.R b/samples/client/petstore/R-httr2-wrapper/R/cat.R
index f74e2d887ddd..9198500c01a2 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/cat.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/cat.R
@@ -32,7 +32,7 @@ Cat <- R6::R6Class(
#' @param className className
#' @param color color. Default to "red".
#' @param declawed declawed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", `declawed` = NULL, additional_properties = NULL, ...) {
@@ -255,7 +255,7 @@ Cat <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Cat$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Cat$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/cat_all_of.R b/samples/client/petstore/R-httr2-wrapper/R/cat_all_of.R
index 197e1a46e3a5..d25992a78780 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/cat_all_of.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/cat_all_of.R
@@ -25,7 +25,7 @@ CatAllOf <- R6::R6Class(
#' Initialize a new CatAllOf class.
#'
#' @param declawed declawed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`declawed` = NULL, additional_properties = NULL, ...) {
@@ -186,7 +186,7 @@ CatAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# CatAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# CatAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/category.R b/samples/client/petstore/R-httr2-wrapper/R/category.R
index 2646d01bd723..175b3cbb9aeb 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/category.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/category.R
@@ -28,7 +28,7 @@ Category <- R6::R6Class(
#'
#' @param id id
#' @param name name
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, additional_properties = NULL, ...) {
@@ -219,7 +219,7 @@ Category <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Category$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Category$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/danish_pig.R b/samples/client/petstore/R-httr2-wrapper/R/danish_pig.R
index 06cf5096a889..627bd413163e 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/danish_pig.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/danish_pig.R
@@ -28,7 +28,7 @@ DanishPig <- R6::R6Class(
#'
#' @param className className
#' @param size size
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `size`, additional_properties = NULL, ...) {
@@ -247,7 +247,7 @@ DanishPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DanishPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DanishPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/date.R b/samples/client/petstore/R-httr2-wrapper/R/date.R
index 79945bc8cfcf..3299b6658ad1 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/date.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/date.R
@@ -31,7 +31,7 @@ Date <- R6::R6Class(
#' @param className className
#' @param url_property url_property
#' @param percent_description using \% in the description
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `url_property`, `percent_description` = NULL, additional_properties = NULL, ...) {
@@ -288,7 +288,7 @@ Date <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Date$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Date$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/dog.R b/samples/client/petstore/R-httr2-wrapper/R/dog.R
index a814c57d5869..068eec8eca83 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/dog.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/dog.R
@@ -32,7 +32,7 @@ Dog <- R6::R6Class(
#' @param className className
#' @param color color. Default to "red".
#' @param breed breed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", `breed` = NULL, additional_properties = NULL, ...) {
@@ -255,7 +255,7 @@ Dog <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Dog$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Dog$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/dog_all_of.R b/samples/client/petstore/R-httr2-wrapper/R/dog_all_of.R
index 17608478eedf..d35a85abbb52 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/dog_all_of.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/dog_all_of.R
@@ -25,7 +25,7 @@ DogAllOf <- R6::R6Class(
#' Initialize a new DogAllOf class.
#'
#' @param breed breed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`breed` = NULL, additional_properties = NULL, ...) {
@@ -186,7 +186,7 @@ DogAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DogAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DogAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/format_test.R b/samples/client/petstore/R-httr2-wrapper/R/format_test.R
index 4bd74e3a7275..85894ec7b1f5 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/format_test.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/format_test.R
@@ -67,7 +67,7 @@ FormatTest <- R6::R6Class(
#' @param uuid uuid
#' @param pattern_with_digits A string that is a 10 digit number. Can have leading zeros.
#' @param pattern_with_digits_and_delimiter A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`number`, `byte`, `date`, `password`, `integer` = NULL, `int32` = NULL, `int64` = NULL, `float` = NULL, `double` = NULL, `string` = NULL, `binary` = NULL, `dateTime` = "2015-10-28T14:38:02Z", `uuid` = NULL, `pattern_with_digits` = NULL, `pattern_with_digits_and_delimiter` = NULL, additional_properties = NULL, ...) {
@@ -701,7 +701,7 @@ FormatTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# FormatTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# FormatTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/mammal.R b/samples/client/petstore/R-httr2-wrapper/R/mammal.R
index c9dd60c3e7c9..b96d79926ca8 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/mammal.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/mammal.R
@@ -217,7 +217,7 @@ Mammal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Mammal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Mammal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/model_api_response.R b/samples/client/petstore/R-httr2-wrapper/R/model_api_response.R
index b0e4bbba7e97..028c66c72305 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/model_api_response.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/model_api_response.R
@@ -31,7 +31,7 @@ ModelApiResponse <- R6::R6Class(
#' @param code code
#' @param type type
#' @param message message
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`code` = NULL, `type` = NULL, `message` = NULL, additional_properties = NULL, ...) {
@@ -236,7 +236,7 @@ ModelApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# ModelApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# ModelApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/nested_one_of.R b/samples/client/petstore/R-httr2-wrapper/R/nested_one_of.R
index 73f4e938cbd3..d2a670b4eddb 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/nested_one_of.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/nested_one_of.R
@@ -28,7 +28,7 @@ NestedOneOf <- R6::R6Class(
#'
#' @param size size
#' @param nested_pig nested_pig
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`size` = NULL, `nested_pig` = NULL, additional_properties = NULL, ...) {
@@ -211,7 +211,7 @@ NestedOneOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# NestedOneOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# NestedOneOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/one_of_primitive_type_test.R b/samples/client/petstore/R-httr2-wrapper/R/one_of_primitive_type_test.R
index ed13169f9027..faf3f7850ab8 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/one_of_primitive_type_test.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/one_of_primitive_type_test.R
@@ -193,7 +193,7 @@ OneOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#OneOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#OneOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/order.R b/samples/client/petstore/R-httr2-wrapper/R/order.R
index 266468962695..08c080464e64 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/order.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/order.R
@@ -40,7 +40,7 @@ Order <- R6::R6Class(
#' @param shipDate shipDate
#' @param status Order Status
#' @param complete complete. Default to FALSE.
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `petId` = NULL, `quantity` = NULL, `shipDate` = NULL, `status` = NULL, `complete` = FALSE, additional_properties = NULL, ...) {
@@ -320,7 +320,7 @@ Order <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Order$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Order$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/pet.R b/samples/client/petstore/R-httr2-wrapper/R/pet.R
index 8be5a0583359..42db1ecb8855 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/pet.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/pet.R
@@ -40,7 +40,7 @@ Pet <- R6::R6Class(
#' @param category category
#' @param tags tags
#' @param status pet status in the store
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`name`, `photoUrls`, `id` = NULL, `category` = NULL, `tags` = NULL, `status` = NULL, additional_properties = NULL, ...) {
@@ -353,7 +353,7 @@ Pet <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Pet$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Pet$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/pig.R b/samples/client/petstore/R-httr2-wrapper/R/pig.R
index f5d81b793921..a7139f4795b6 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/pig.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/pig.R
@@ -217,7 +217,7 @@ Pig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Pig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Pig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/special.R b/samples/client/petstore/R-httr2-wrapper/R/special.R
index 39664bea75ce..27a23809a070 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/special.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/special.R
@@ -43,7 +43,7 @@ Special <- R6::R6Class(
#' @param 123_number 123_number
#' @param array[test] array[test]
#' @param empty_string empty_string
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`set_test` = NULL, `item_self` = NULL, `item_private` = NULL, `item_super` = NULL, `123_number` = NULL, `array[test]` = NULL, `empty_string` = NULL, additional_properties = NULL, ...) {
@@ -346,7 +346,7 @@ Special <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Special$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Special$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/store_api.R b/samples/client/petstore/R-httr2-wrapper/R/store_api.R
index 129e5d06d2b7..d5238552acfe 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/store_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/store_api.R
@@ -54,7 +54,7 @@
#' }
#'
#' \strong{ get_order_by_id } \emph{ Find purchase order by ID }
-#' For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+#' For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
#'
#' \itemize{
#' \item \emph{ @param } order_id integer
diff --git a/samples/client/petstore/R-httr2-wrapper/R/tag.R b/samples/client/petstore/R-httr2-wrapper/R/tag.R
index be068d1474c5..52079beeb09f 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/tag.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/tag.R
@@ -28,7 +28,7 @@ Tag <- R6::R6Class(
#'
#' @param id id
#' @param name name
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, additional_properties = NULL, ...) {
@@ -211,7 +211,7 @@ Tag <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Tag$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Tag$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/update_pet_request.R b/samples/client/petstore/R-httr2-wrapper/R/update_pet_request.R
index bde06df6a8a7..2fc96ab4fffa 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/update_pet_request.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/update_pet_request.R
@@ -28,7 +28,7 @@ UpdatePetRequest <- R6::R6Class(
#'
#' @param jsonData jsonData
#' @param binaryDataN2Information binaryDataN2Information
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`jsonData` = NULL, `binaryDataN2Information` = NULL, additional_properties = NULL, ...) {
@@ -208,7 +208,7 @@ UpdatePetRequest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# UpdatePetRequest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# UpdatePetRequest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/user.R b/samples/client/petstore/R-httr2-wrapper/R/user.R
index 43b51ffa41c2..533469b64229 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/user.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/user.R
@@ -46,7 +46,7 @@ User <- R6::R6Class(
#' @param password password
#' @param phone phone
#' @param userStatus User Status
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `username` = NULL, `firstName` = NULL, `lastName` = NULL, `email` = NULL, `password` = NULL, `phone` = NULL, `userStatus` = NULL, additional_properties = NULL, ...) {
@@ -361,7 +361,7 @@ User <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# User$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# User$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/whale.R b/samples/client/petstore/R-httr2-wrapper/R/whale.R
index dc70b1dd33e5..3305ab6ce6d7 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/whale.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/whale.R
@@ -31,7 +31,7 @@ Whale <- R6::R6Class(
#' @param className className
#' @param hasBaleen hasBaleen
#' @param hasTeeth hasTeeth
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `hasBaleen` = NULL, `hasTeeth` = NULL, additional_properties = NULL, ...) {
@@ -254,7 +254,7 @@ Whale <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Whale$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Whale$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/R/zebra.R b/samples/client/petstore/R-httr2-wrapper/R/zebra.R
index c8d06d23d6a5..122e76d20ea3 100644
--- a/samples/client/petstore/R-httr2-wrapper/R/zebra.R
+++ b/samples/client/petstore/R-httr2-wrapper/R/zebra.R
@@ -28,7 +28,7 @@ Zebra <- R6::R6Class(
#'
#' @param className className
#' @param type type
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `type` = NULL, additional_properties = NULL, ...) {
@@ -238,7 +238,7 @@ Zebra <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Zebra$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Zebra$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2-wrapper/docs/StoreApi.md b/samples/client/petstore/R-httr2-wrapper/docs/StoreApi.md
index 91cfa8e765d0..9818d6e3f062 100644
--- a/samples/client/petstore/R-httr2-wrapper/docs/StoreApi.md
+++ b/samples/client/petstore/R-httr2-wrapper/docs/StoreApi.md
@@ -129,7 +129,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```R
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_petstore.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_petstore.R
index df15619de1bc..917d3fb00ec4 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_petstore.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_petstore.R
@@ -524,7 +524,7 @@ test_that("Tests oneOf", {
# class name test
expect_equal(get(class(basque_pig$actual_instance)[[1]], pos = -1)$classname, "BasquePig")
- # test contructors
+ # test constructors
pig2 <- Pig$new(instance = basque_pig$actual_instance)
expect_equal(pig2$actual_type, "BasquePig")
expect_equal(pig2$actual_instance$color, "red")
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
index 1ebb3f82a639..3ce6f412c93d 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
@@ -32,7 +32,7 @@ test_that("GetOrderById", {
# tests for GetOrderById
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order.id integer ID of pet that needs to be fetched
# @return [Order]
diff --git a/samples/client/petstore/R-httr2/.openapi-generator-ignore b/samples/client/petstore/R-httr2/.openapi-generator-ignore
index c5fa491b4c55..deed424f8a15 100644
--- a/samples/client/petstore/R-httr2/.openapi-generator-ignore
+++ b/samples/client/petstore/R-httr2/.openapi-generator-ignore
@@ -5,7 +5,7 @@
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
+# You can make changes and tell Swagger Codegen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
diff --git a/samples/client/petstore/R-httr2/R/allof_tag_api_response.R b/samples/client/petstore/R-httr2/R/allof_tag_api_response.R
index c4134b53e68f..98a3cd8fd657 100644
--- a/samples/client/petstore/R-httr2/R/allof_tag_api_response.R
+++ b/samples/client/petstore/R-httr2/R/allof_tag_api_response.R
@@ -253,7 +253,7 @@ AllofTagApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# AllofTagApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# AllofTagApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/animal.R b/samples/client/petstore/R-httr2/R/animal.R
index 6b4d78ff5ede..3c62c6687e4f 100644
--- a/samples/client/petstore/R-httr2/R/animal.R
+++ b/samples/client/petstore/R-httr2/R/animal.R
@@ -198,7 +198,7 @@ Animal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Animal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Animal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/any_of_pig.R b/samples/client/petstore/R-httr2/R/any_of_pig.R
index 64e859d560bc..34736dc7f38c 100644
--- a/samples/client/petstore/R-httr2/R/any_of_pig.R
+++ b/samples/client/petstore/R-httr2/R/any_of_pig.R
@@ -174,7 +174,7 @@ AnyOfPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/any_of_primitive_type_test.R b/samples/client/petstore/R-httr2/R/any_of_primitive_type_test.R
index da1e53ce4729..c34326a3161f 100644
--- a/samples/client/petstore/R-httr2/R/any_of_primitive_type_test.R
+++ b/samples/client/petstore/R-httr2/R/any_of_primitive_type_test.R
@@ -193,7 +193,7 @@ AnyOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/api_client.R b/samples/client/petstore/R-httr2/R/api_client.R
index 3ca3cf9ce7f4..5ad09ce50e02 100644
--- a/samples/client/petstore/R-httr2/R/api_client.R
+++ b/samples/client/petstore/R-httr2/R/api_client.R
@@ -163,7 +163,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters to upload files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -194,7 +194,7 @@ ApiClient <- R6::R6Class(
#' @param header_params The header parameters.
#' @param form_params The form parameters.
#' @param file_params The form parameters for uploading files.
- #' @param accepts The HTTP accpet headers.
+ #' @param accepts The HTTP accept headers.
#' @param content_types The HTTP content-type headers.
#' @param body The HTTP request body.
#' @param is_oauth True if the endpoints required OAuth authentication.
@@ -405,10 +405,10 @@ ApiClient <- R6::R6Class(
}
return_obj
},
- #' Return a propery header (for accept or content-type).
+ #' Return a property header (for accept or content-type).
#'
#' @description
- #' Return a propery header (for accept or content-type). If JSON-related MIME is found,
+ #' Return a property header (for accept or content-type). If JSON-related MIME is found,
#' return it. Otherwise, return the first one, if any.
#'
#' @param headers A list of headers
diff --git a/samples/client/petstore/R-httr2/R/api_response.R b/samples/client/petstore/R-httr2/R/api_response.R
index 70431ae7e582..6cff851aed42 100644
--- a/samples/client/petstore/R-httr2/R/api_response.R
+++ b/samples/client/petstore/R-httr2/R/api_response.R
@@ -12,7 +12,7 @@
#' @field content The deserialized response body.
#' @field response The raw response from the endpoint.
#' @field status_code The HTTP response status code.
-#' @field status_code_desc The brief descriptoin of the HTTP response status code.
+#' @field status_code_desc The brief description of the HTTP response status code.
#' @field headers The HTTP response headers.
#' @export
ApiResponse <- R6::R6Class(
diff --git a/samples/client/petstore/R-httr2/R/basque_pig.R b/samples/client/petstore/R-httr2/R/basque_pig.R
index 28a10e6ddc44..53756e06c441 100644
--- a/samples/client/petstore/R-httr2/R/basque_pig.R
+++ b/samples/client/petstore/R-httr2/R/basque_pig.R
@@ -214,7 +214,7 @@ BasquePig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# BasquePig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# BasquePig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/cat.R b/samples/client/petstore/R-httr2/R/cat.R
index eaba966de584..861a3b174ae4 100644
--- a/samples/client/petstore/R-httr2/R/cat.R
+++ b/samples/client/petstore/R-httr2/R/cat.R
@@ -222,7 +222,7 @@ Cat <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Cat$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Cat$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/cat_all_of.R b/samples/client/petstore/R-httr2/R/cat_all_of.R
index d2889ac4990b..6ce939b452df 100644
--- a/samples/client/petstore/R-httr2/R/cat_all_of.R
+++ b/samples/client/petstore/R-httr2/R/cat_all_of.R
@@ -153,7 +153,7 @@ CatAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# CatAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# CatAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/category.R b/samples/client/petstore/R-httr2/R/category.R
index 82c562286049..67c8059bc8fe 100644
--- a/samples/client/petstore/R-httr2/R/category.R
+++ b/samples/client/petstore/R-httr2/R/category.R
@@ -186,7 +186,7 @@ Category <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Category$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Category$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/danish_pig.R b/samples/client/petstore/R-httr2/R/danish_pig.R
index aea435d0fbf1..84e4b50ea893 100644
--- a/samples/client/petstore/R-httr2/R/danish_pig.R
+++ b/samples/client/petstore/R-httr2/R/danish_pig.R
@@ -214,7 +214,7 @@ DanishPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DanishPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DanishPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/date.R b/samples/client/petstore/R-httr2/R/date.R
index a188cad8fce6..482bb1ef037f 100644
--- a/samples/client/petstore/R-httr2/R/date.R
+++ b/samples/client/petstore/R-httr2/R/date.R
@@ -255,7 +255,7 @@ Date <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Date$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Date$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/dog.R b/samples/client/petstore/R-httr2/R/dog.R
index 9585ef81a58c..9916c7bb2e33 100644
--- a/samples/client/petstore/R-httr2/R/dog.R
+++ b/samples/client/petstore/R-httr2/R/dog.R
@@ -222,7 +222,7 @@ Dog <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Dog$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Dog$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/dog_all_of.R b/samples/client/petstore/R-httr2/R/dog_all_of.R
index c9ad55312255..42f587493a7f 100644
--- a/samples/client/petstore/R-httr2/R/dog_all_of.R
+++ b/samples/client/petstore/R-httr2/R/dog_all_of.R
@@ -153,7 +153,7 @@ DogAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DogAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DogAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/format_test.R b/samples/client/petstore/R-httr2/R/format_test.R
index 8361a769f0ff..e07519373d3d 100644
--- a/samples/client/petstore/R-httr2/R/format_test.R
+++ b/samples/client/petstore/R-httr2/R/format_test.R
@@ -668,7 +668,7 @@ FormatTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# FormatTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# FormatTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/mammal.R b/samples/client/petstore/R-httr2/R/mammal.R
index 9864432e8fb9..a5af6d76d644 100644
--- a/samples/client/petstore/R-httr2/R/mammal.R
+++ b/samples/client/petstore/R-httr2/R/mammal.R
@@ -191,7 +191,7 @@ Mammal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Mammal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Mammal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/model_api_response.R b/samples/client/petstore/R-httr2/R/model_api_response.R
index 0fd0c71e99c3..de62918e893a 100644
--- a/samples/client/petstore/R-httr2/R/model_api_response.R
+++ b/samples/client/petstore/R-httr2/R/model_api_response.R
@@ -203,7 +203,7 @@ ModelApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# ModelApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# ModelApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/nested_one_of.R b/samples/client/petstore/R-httr2/R/nested_one_of.R
index beef5124f9b5..a2c5fc4b83ce 100644
--- a/samples/client/petstore/R-httr2/R/nested_one_of.R
+++ b/samples/client/petstore/R-httr2/R/nested_one_of.R
@@ -178,7 +178,7 @@ NestedOneOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# NestedOneOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# NestedOneOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/one_of_primitive_type_test.R b/samples/client/petstore/R-httr2/R/one_of_primitive_type_test.R
index ed13169f9027..faf3f7850ab8 100644
--- a/samples/client/petstore/R-httr2/R/one_of_primitive_type_test.R
+++ b/samples/client/petstore/R-httr2/R/one_of_primitive_type_test.R
@@ -193,7 +193,7 @@ OneOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#OneOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#OneOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/order.R b/samples/client/petstore/R-httr2/R/order.R
index b5604d999007..38975d63ee94 100644
--- a/samples/client/petstore/R-httr2/R/order.R
+++ b/samples/client/petstore/R-httr2/R/order.R
@@ -287,7 +287,7 @@ Order <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Order$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Order$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/pet.R b/samples/client/petstore/R-httr2/R/pet.R
index be5b2767ef1f..7070dc689ea7 100644
--- a/samples/client/petstore/R-httr2/R/pet.R
+++ b/samples/client/petstore/R-httr2/R/pet.R
@@ -320,7 +320,7 @@ Pet <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Pet$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Pet$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/pig.R b/samples/client/petstore/R-httr2/R/pig.R
index 570346408f34..d497bc280390 100644
--- a/samples/client/petstore/R-httr2/R/pig.R
+++ b/samples/client/petstore/R-httr2/R/pig.R
@@ -191,7 +191,7 @@ Pig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Pig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Pig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/special.R b/samples/client/petstore/R-httr2/R/special.R
index e2089142e9d6..34119a5ce55a 100644
--- a/samples/client/petstore/R-httr2/R/special.R
+++ b/samples/client/petstore/R-httr2/R/special.R
@@ -313,7 +313,7 @@ Special <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Special$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Special$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/store_api.R b/samples/client/petstore/R-httr2/R/store_api.R
index b5941c11d85c..60b60fa0603b 100644
--- a/samples/client/petstore/R-httr2/R/store_api.R
+++ b/samples/client/petstore/R-httr2/R/store_api.R
@@ -54,7 +54,7 @@
#' }
#'
#' \strong{ get_order_by_id } \emph{ Find purchase order by ID }
-#' For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+#' For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
#'
#' \itemize{
#' \item \emph{ @param } order_id integer
diff --git a/samples/client/petstore/R-httr2/R/tag.R b/samples/client/petstore/R-httr2/R/tag.R
index 51603e72ab3f..97c9906129a3 100644
--- a/samples/client/petstore/R-httr2/R/tag.R
+++ b/samples/client/petstore/R-httr2/R/tag.R
@@ -178,7 +178,7 @@ Tag <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Tag$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Tag$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/update_pet_request.R b/samples/client/petstore/R-httr2/R/update_pet_request.R
index 1d37555f4b05..a2da076f8ded 100644
--- a/samples/client/petstore/R-httr2/R/update_pet_request.R
+++ b/samples/client/petstore/R-httr2/R/update_pet_request.R
@@ -175,7 +175,7 @@ UpdatePetRequest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# UpdatePetRequest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# UpdatePetRequest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/user.R b/samples/client/petstore/R-httr2/R/user.R
index 78896afef3c4..d37c45f4fa22 100644
--- a/samples/client/petstore/R-httr2/R/user.R
+++ b/samples/client/petstore/R-httr2/R/user.R
@@ -328,7 +328,7 @@ User <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# User$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# User$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/whale.R b/samples/client/petstore/R-httr2/R/whale.R
index 084df84385a1..1ccb12a0bc91 100644
--- a/samples/client/petstore/R-httr2/R/whale.R
+++ b/samples/client/petstore/R-httr2/R/whale.R
@@ -221,7 +221,7 @@ Whale <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Whale$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Whale$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/R/zebra.R b/samples/client/petstore/R-httr2/R/zebra.R
index 0a1aa587e113..09f0e554d63d 100644
--- a/samples/client/petstore/R-httr2/R/zebra.R
+++ b/samples/client/petstore/R-httr2/R/zebra.R
@@ -205,7 +205,7 @@ Zebra <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Zebra$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Zebra$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R-httr2/docs/StoreApi.md b/samples/client/petstore/R-httr2/docs/StoreApi.md
index c0453bb3610c..e34a7edd7895 100644
--- a/samples/client/petstore/R-httr2/docs/StoreApi.md
+++ b/samples/client/petstore/R-httr2/docs/StoreApi.md
@@ -129,7 +129,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```R
diff --git a/samples/client/petstore/R-httr2/man/StoreApi.Rd b/samples/client/petstore/R-httr2/man/StoreApi.Rd
index 2423e1819e05..1ed70bec6991 100644
--- a/samples/client/petstore/R-httr2/man/StoreApi.Rd
+++ b/samples/client/petstore/R-httr2/man/StoreApi.Rd
@@ -62,7 +62,7 @@ Returns a map of status codes to quantities
}
\strong{ GetOrderById } \emph{ Find purchase order by ID }
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
\itemize{
\item \emph{ @param } order_id integer
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_petstore.R b/samples/client/petstore/R-httr2/tests/testthat/test_petstore.R
index 9e220b9af6d6..b612714b8122 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_petstore.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_petstore.R
@@ -331,7 +331,7 @@ test_that("Tests oneOf", {
# class name test
expect_equal(get(class(basque_pig$actual_instance)[[1]], pos = -1)$classname, "BasquePig")
- # test contructors
+ # test constructors
pig2 <- Pig$new(instance = basque_pig$actual_instance)
expect_equal(pig2$actual_type, "BasquePig")
expect_equal(pig2$actual_instance$color, "red")
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R b/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
index 1ebb3f82a639..3ce6f412c93d 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
@@ -32,7 +32,7 @@ test_that("GetOrderById", {
# tests for GetOrderById
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order.id integer ID of pet that needs to be fetched
# @return [Order]
diff --git a/samples/client/petstore/R/.openapi-generator-ignore b/samples/client/petstore/R/.openapi-generator-ignore
index c5fa491b4c55..deed424f8a15 100644
--- a/samples/client/petstore/R/.openapi-generator-ignore
+++ b/samples/client/petstore/R/.openapi-generator-ignore
@@ -5,7 +5,7 @@
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
+# You can make changes and tell Swagger Codegen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
diff --git a/samples/client/petstore/R/R/allof_tag_api_response.R b/samples/client/petstore/R/R/allof_tag_api_response.R
index 220d89ee5036..7cfd85917e92 100644
--- a/samples/client/petstore/R/R/allof_tag_api_response.R
+++ b/samples/client/petstore/R/R/allof_tag_api_response.R
@@ -37,7 +37,7 @@ AllofTagApiResponse <- R6::R6Class(
#' @param code code
#' @param type type
#' @param message message
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, `code` = NULL, `type` = NULL, `message` = NULL, additional_properties = NULL, ...) {
@@ -286,7 +286,7 @@ AllofTagApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# AllofTagApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# AllofTagApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/animal.R b/samples/client/petstore/R/R/animal.R
index b506bced42f9..a1689f8394fd 100644
--- a/samples/client/petstore/R/R/animal.R
+++ b/samples/client/petstore/R/R/animal.R
@@ -30,7 +30,7 @@ Animal <- R6::R6Class(
#'
#' @param className className
#' @param color color. Default to "red".
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", additional_properties = NULL, ...) {
@@ -231,7 +231,7 @@ Animal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Animal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Animal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/any_of_pig.R b/samples/client/petstore/R/R/any_of_pig.R
index 64e859d560bc..34736dc7f38c 100644
--- a/samples/client/petstore/R/R/any_of_pig.R
+++ b/samples/client/petstore/R/R/any_of_pig.R
@@ -174,7 +174,7 @@ AnyOfPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/any_of_primitive_type_test.R b/samples/client/petstore/R/R/any_of_primitive_type_test.R
index da1e53ce4729..c34326a3161f 100644
--- a/samples/client/petstore/R/R/any_of_primitive_type_test.R
+++ b/samples/client/petstore/R/R/any_of_primitive_type_test.R
@@ -193,7 +193,7 @@ AnyOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#AnyOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#AnyOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/api_client.R b/samples/client/petstore/R/R/api_client.R
index cd0958b02de5..6fe5c3488f1b 100644
--- a/samples/client/petstore/R/R/api_client.R
+++ b/samples/client/petstore/R/R/api_client.R
@@ -392,10 +392,10 @@ ApiClient <- R6::R6Class(
}
return_obj
},
- #' Return a propery header (for accept or content-type).
+ #' Return a property header (for accept or content-type).
#'
#' @description
- #' Return a propery header (for accept or content-type). If JSON-related MIME is found,
+ #' Return a property header (for accept or content-type). If JSON-related MIME is found,
#' return it. Otherwise, return the first one, if any.
#'
#' @param headers A list of headers
diff --git a/samples/client/petstore/R/R/api_response.R b/samples/client/petstore/R/R/api_response.R
index 70431ae7e582..6cff851aed42 100644
--- a/samples/client/petstore/R/R/api_response.R
+++ b/samples/client/petstore/R/R/api_response.R
@@ -12,7 +12,7 @@
#' @field content The deserialized response body.
#' @field response The raw response from the endpoint.
#' @field status_code The HTTP response status code.
-#' @field status_code_desc The brief descriptoin of the HTTP response status code.
+#' @field status_code_desc The brief description of the HTTP response status code.
#' @field headers The HTTP response headers.
#' @export
ApiResponse <- R6::R6Class(
diff --git a/samples/client/petstore/R/R/basque_pig.R b/samples/client/petstore/R/R/basque_pig.R
index ac83042c8cfd..048bff78e75c 100644
--- a/samples/client/petstore/R/R/basque_pig.R
+++ b/samples/client/petstore/R/R/basque_pig.R
@@ -28,7 +28,7 @@ BasquePig <- R6::R6Class(
#'
#' @param className className
#' @param color color
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color`, additional_properties = NULL, ...) {
@@ -247,7 +247,7 @@ BasquePig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# BasquePig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# BasquePig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/cat.R b/samples/client/petstore/R/R/cat.R
index f74e2d887ddd..9198500c01a2 100644
--- a/samples/client/petstore/R/R/cat.R
+++ b/samples/client/petstore/R/R/cat.R
@@ -32,7 +32,7 @@ Cat <- R6::R6Class(
#' @param className className
#' @param color color. Default to "red".
#' @param declawed declawed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", `declawed` = NULL, additional_properties = NULL, ...) {
@@ -255,7 +255,7 @@ Cat <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Cat$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Cat$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/cat_all_of.R b/samples/client/petstore/R/R/cat_all_of.R
index 197e1a46e3a5..d25992a78780 100644
--- a/samples/client/petstore/R/R/cat_all_of.R
+++ b/samples/client/petstore/R/R/cat_all_of.R
@@ -25,7 +25,7 @@ CatAllOf <- R6::R6Class(
#' Initialize a new CatAllOf class.
#'
#' @param declawed declawed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`declawed` = NULL, additional_properties = NULL, ...) {
@@ -186,7 +186,7 @@ CatAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# CatAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# CatAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/category.R b/samples/client/petstore/R/R/category.R
index 2646d01bd723..175b3cbb9aeb 100644
--- a/samples/client/petstore/R/R/category.R
+++ b/samples/client/petstore/R/R/category.R
@@ -28,7 +28,7 @@ Category <- R6::R6Class(
#'
#' @param id id
#' @param name name
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, additional_properties = NULL, ...) {
@@ -219,7 +219,7 @@ Category <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Category$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Category$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/danish_pig.R b/samples/client/petstore/R/R/danish_pig.R
index 06cf5096a889..627bd413163e 100644
--- a/samples/client/petstore/R/R/danish_pig.R
+++ b/samples/client/petstore/R/R/danish_pig.R
@@ -28,7 +28,7 @@ DanishPig <- R6::R6Class(
#'
#' @param className className
#' @param size size
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `size`, additional_properties = NULL, ...) {
@@ -247,7 +247,7 @@ DanishPig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DanishPig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DanishPig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/date.R b/samples/client/petstore/R/R/date.R
index 79945bc8cfcf..3299b6658ad1 100644
--- a/samples/client/petstore/R/R/date.R
+++ b/samples/client/petstore/R/R/date.R
@@ -31,7 +31,7 @@ Date <- R6::R6Class(
#' @param className className
#' @param url_property url_property
#' @param percent_description using \% in the description
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `url_property`, `percent_description` = NULL, additional_properties = NULL, ...) {
@@ -288,7 +288,7 @@ Date <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Date$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Date$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/dog.R b/samples/client/petstore/R/R/dog.R
index a814c57d5869..068eec8eca83 100644
--- a/samples/client/petstore/R/R/dog.R
+++ b/samples/client/petstore/R/R/dog.R
@@ -32,7 +32,7 @@ Dog <- R6::R6Class(
#' @param className className
#' @param color color. Default to "red".
#' @param breed breed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `color` = "red", `breed` = NULL, additional_properties = NULL, ...) {
@@ -255,7 +255,7 @@ Dog <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Dog$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Dog$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/dog_all_of.R b/samples/client/petstore/R/R/dog_all_of.R
index 17608478eedf..d35a85abbb52 100644
--- a/samples/client/petstore/R/R/dog_all_of.R
+++ b/samples/client/petstore/R/R/dog_all_of.R
@@ -25,7 +25,7 @@ DogAllOf <- R6::R6Class(
#' Initialize a new DogAllOf class.
#'
#' @param breed breed
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`breed` = NULL, additional_properties = NULL, ...) {
@@ -186,7 +186,7 @@ DogAllOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# DogAllOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# DogAllOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/format_test.R b/samples/client/petstore/R/R/format_test.R
index 4bd74e3a7275..85894ec7b1f5 100644
--- a/samples/client/petstore/R/R/format_test.R
+++ b/samples/client/petstore/R/R/format_test.R
@@ -67,7 +67,7 @@ FormatTest <- R6::R6Class(
#' @param uuid uuid
#' @param pattern_with_digits A string that is a 10 digit number. Can have leading zeros.
#' @param pattern_with_digits_and_delimiter A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`number`, `byte`, `date`, `password`, `integer` = NULL, `int32` = NULL, `int64` = NULL, `float` = NULL, `double` = NULL, `string` = NULL, `binary` = NULL, `dateTime` = "2015-10-28T14:38:02Z", `uuid` = NULL, `pattern_with_digits` = NULL, `pattern_with_digits_and_delimiter` = NULL, additional_properties = NULL, ...) {
@@ -701,7 +701,7 @@ FormatTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# FormatTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# FormatTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/mammal.R b/samples/client/petstore/R/R/mammal.R
index 9864432e8fb9..a5af6d76d644 100644
--- a/samples/client/petstore/R/R/mammal.R
+++ b/samples/client/petstore/R/R/mammal.R
@@ -191,7 +191,7 @@ Mammal <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Mammal$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Mammal$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/model_api_response.R b/samples/client/petstore/R/R/model_api_response.R
index b0e4bbba7e97..028c66c72305 100644
--- a/samples/client/petstore/R/R/model_api_response.R
+++ b/samples/client/petstore/R/R/model_api_response.R
@@ -31,7 +31,7 @@ ModelApiResponse <- R6::R6Class(
#' @param code code
#' @param type type
#' @param message message
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`code` = NULL, `type` = NULL, `message` = NULL, additional_properties = NULL, ...) {
@@ -236,7 +236,7 @@ ModelApiResponse <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# ModelApiResponse$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# ModelApiResponse$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/nested_one_of.R b/samples/client/petstore/R/R/nested_one_of.R
index 73f4e938cbd3..d2a670b4eddb 100644
--- a/samples/client/petstore/R/R/nested_one_of.R
+++ b/samples/client/petstore/R/R/nested_one_of.R
@@ -28,7 +28,7 @@ NestedOneOf <- R6::R6Class(
#'
#' @param size size
#' @param nested_pig nested_pig
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`size` = NULL, `nested_pig` = NULL, additional_properties = NULL, ...) {
@@ -211,7 +211,7 @@ NestedOneOf <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# NestedOneOf$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# NestedOneOf$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/one_of_primitive_type_test.R b/samples/client/petstore/R/R/one_of_primitive_type_test.R
index ed13169f9027..faf3f7850ab8 100644
--- a/samples/client/petstore/R/R/one_of_primitive_type_test.R
+++ b/samples/client/petstore/R/R/one_of_primitive_type_test.R
@@ -193,7 +193,7 @@ OneOfPrimitiveTypeTest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#OneOfPrimitiveTypeTest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#OneOfPrimitiveTypeTest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/order.R b/samples/client/petstore/R/R/order.R
index 266468962695..08c080464e64 100644
--- a/samples/client/petstore/R/R/order.R
+++ b/samples/client/petstore/R/R/order.R
@@ -40,7 +40,7 @@ Order <- R6::R6Class(
#' @param shipDate shipDate
#' @param status Order Status
#' @param complete complete. Default to FALSE.
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `petId` = NULL, `quantity` = NULL, `shipDate` = NULL, `status` = NULL, `complete` = FALSE, additional_properties = NULL, ...) {
@@ -320,7 +320,7 @@ Order <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Order$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Order$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/pet.R b/samples/client/petstore/R/R/pet.R
index 8be5a0583359..42db1ecb8855 100644
--- a/samples/client/petstore/R/R/pet.R
+++ b/samples/client/petstore/R/R/pet.R
@@ -40,7 +40,7 @@ Pet <- R6::R6Class(
#' @param category category
#' @param tags tags
#' @param status pet status in the store
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`name`, `photoUrls`, `id` = NULL, `category` = NULL, `tags` = NULL, `status` = NULL, additional_properties = NULL, ...) {
@@ -353,7 +353,7 @@ Pet <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Pet$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Pet$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/pig.R b/samples/client/petstore/R/R/pig.R
index 570346408f34..d497bc280390 100644
--- a/samples/client/petstore/R/R/pig.R
+++ b/samples/client/petstore/R/R/pig.R
@@ -191,7 +191,7 @@ Pig <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
#Pig$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
#Pig$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/special.R b/samples/client/petstore/R/R/special.R
index 39664bea75ce..27a23809a070 100644
--- a/samples/client/petstore/R/R/special.R
+++ b/samples/client/petstore/R/R/special.R
@@ -43,7 +43,7 @@ Special <- R6::R6Class(
#' @param 123_number 123_number
#' @param array[test] array[test]
#' @param empty_string empty_string
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`set_test` = NULL, `item_self` = NULL, `item_private` = NULL, `item_super` = NULL, `123_number` = NULL, `array[test]` = NULL, `empty_string` = NULL, additional_properties = NULL, ...) {
@@ -346,7 +346,7 @@ Special <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Special$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Special$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/store_api.R b/samples/client/petstore/R/R/store_api.R
index 1daff7db8201..20eb0cd2cd42 100644
--- a/samples/client/petstore/R/R/store_api.R
+++ b/samples/client/petstore/R/R/store_api.R
@@ -54,7 +54,7 @@
#' }
#'
#' \strong{ GetOrderById } \emph{ Find purchase order by ID }
-#' For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+#' For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
#'
#' \itemize{
#' \item \emph{ @param } order_id integer
diff --git a/samples/client/petstore/R/R/tag.R b/samples/client/petstore/R/R/tag.R
index be068d1474c5..52079beeb09f 100644
--- a/samples/client/petstore/R/R/tag.R
+++ b/samples/client/petstore/R/R/tag.R
@@ -28,7 +28,7 @@ Tag <- R6::R6Class(
#'
#' @param id id
#' @param name name
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `name` = NULL, additional_properties = NULL, ...) {
@@ -211,7 +211,7 @@ Tag <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Tag$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Tag$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/update_pet_request.R b/samples/client/petstore/R/R/update_pet_request.R
index bde06df6a8a7..2fc96ab4fffa 100644
--- a/samples/client/petstore/R/R/update_pet_request.R
+++ b/samples/client/petstore/R/R/update_pet_request.R
@@ -28,7 +28,7 @@ UpdatePetRequest <- R6::R6Class(
#'
#' @param jsonData jsonData
#' @param binaryDataN2Information binaryDataN2Information
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`jsonData` = NULL, `binaryDataN2Information` = NULL, additional_properties = NULL, ...) {
@@ -208,7 +208,7 @@ UpdatePetRequest <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# UpdatePetRequest$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# UpdatePetRequest$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/user.R b/samples/client/petstore/R/R/user.R
index 43b51ffa41c2..533469b64229 100644
--- a/samples/client/petstore/R/R/user.R
+++ b/samples/client/petstore/R/R/user.R
@@ -46,7 +46,7 @@ User <- R6::R6Class(
#' @param password password
#' @param phone phone
#' @param userStatus User Status
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`id` = NULL, `username` = NULL, `firstName` = NULL, `lastName` = NULL, `email` = NULL, `password` = NULL, `phone` = NULL, `userStatus` = NULL, additional_properties = NULL, ...) {
@@ -361,7 +361,7 @@ User <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# User$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# User$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/whale.R b/samples/client/petstore/R/R/whale.R
index dc70b1dd33e5..3305ab6ce6d7 100644
--- a/samples/client/petstore/R/R/whale.R
+++ b/samples/client/petstore/R/R/whale.R
@@ -31,7 +31,7 @@ Whale <- R6::R6Class(
#' @param className className
#' @param hasBaleen hasBaleen
#' @param hasTeeth hasTeeth
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `hasBaleen` = NULL, `hasTeeth` = NULL, additional_properties = NULL, ...) {
@@ -254,7 +254,7 @@ Whale <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Whale$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Whale$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/R/zebra.R b/samples/client/petstore/R/R/zebra.R
index c8d06d23d6a5..122e76d20ea3 100644
--- a/samples/client/petstore/R/R/zebra.R
+++ b/samples/client/petstore/R/R/zebra.R
@@ -28,7 +28,7 @@ Zebra <- R6::R6Class(
#'
#' @param className className
#' @param type type
- #' @param additional_properties additonal properties (optional)
+ #' @param additional_properties additional properties (optional)
#' @param ... Other optional arguments.
#' @export
initialize = function(`className`, `type` = NULL, additional_properties = NULL, ...) {
@@ -238,7 +238,7 @@ Zebra <- R6::R6Class(
## Uncomment below to unlock the class to allow modifications of the method or field
# Zebra$unlock()
#
-## Below is an example to define the print fnuction
+## Below is an example to define the print function
# Zebra$set("public", "print", function(...) {
# print(jsonlite::prettify(self$toJSONString()))
# invisible(self)
diff --git a/samples/client/petstore/R/docs/StoreApi.md b/samples/client/petstore/R/docs/StoreApi.md
index b58b49eb7629..cfd0f5207650 100644
--- a/samples/client/petstore/R/docs/StoreApi.md
+++ b/samples/client/petstore/R/docs/StoreApi.md
@@ -129,7 +129,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```R
diff --git a/samples/client/petstore/R/tests/testthat/test_petstore.R b/samples/client/petstore/R/tests/testthat/test_petstore.R
index aee591b52567..f7a70df4f9d5 100644
--- a/samples/client/petstore/R/tests/testthat/test_petstore.R
+++ b/samples/client/petstore/R/tests/testthat/test_petstore.R
@@ -265,7 +265,7 @@ test_that("Tests oneOf", {
# class name test
expect_equal(get(class(basque_pig$actual_instance)[[1]], pos = -1)$classname, "BasquePig")
- # test contructors
+ # test constructors
pig2 <- Pig$new(instance = basque_pig$actual_instance)
expect_equal(pig2$actual_type, "BasquePig")
expect_equal(pig2$actual_instance$color, "red")
diff --git a/samples/client/petstore/R/tests/testthat/test_store_api.R b/samples/client/petstore/R/tests/testthat/test_store_api.R
index 1ebb3f82a639..3ce6f412c93d 100644
--- a/samples/client/petstore/R/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R/tests/testthat/test_store_api.R
@@ -32,7 +32,7 @@ test_that("GetOrderById", {
# tests for GetOrderById
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order.id integer ID of pet that needs to be fetched
# @return [Order]
diff --git a/samples/client/petstore/ada/.openapi-generator-ignore b/samples/client/petstore/ada/.openapi-generator-ignore
index 9b9a09a85889..94b3a421aa47 100644
--- a/samples/client/petstore/ada/.openapi-generator-ignore
+++ b/samples/client/petstore/ada/.openapi-generator-ignore
@@ -5,7 +5,7 @@
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
+# You can make changes and tell Swagger Codegen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
diff --git a/samples/client/petstore/ada/src/client/samples-petstore-clients.adb b/samples/client/petstore/ada/src/client/samples-petstore-clients.adb
index d550af7bbe55..c420821e2e9e 100644
--- a/samples/client/petstore/ada/src/client/samples-petstore-clients.adb
+++ b/samples/client/petstore/ada/src/client/samples-petstore-clients.adb
@@ -184,7 +184,7 @@ package body Samples.Petstore.Clients is
end Get_Inventory;
-- Find purchase order by ID
- -- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ -- For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
procedure Get_Order_By_Id
(Client : in out Client_Type;
Order_Id : in Swagger.Long;
diff --git a/samples/client/petstore/ada/src/client/samples-petstore-clients.ads b/samples/client/petstore/ada/src/client/samples-petstore-clients.ads
index ec06fd09d567..d3a8b3fed6f4 100644
--- a/samples/client/petstore/ada/src/client/samples-petstore-clients.ads
+++ b/samples/client/petstore/ada/src/client/samples-petstore-clients.ads
@@ -80,7 +80,7 @@ package Samples.Petstore.Clients is
Result : out Swagger.Integer_Map);
-- Find purchase order by ID
- -- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ -- For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
procedure Get_Order_By_Id
(Client : in out Client_Type;
Order_Id : in Swagger.Long;
diff --git a/samples/client/petstore/android/httpclient/docs/StoreApi.md b/samples/client/petstore/android/httpclient/docs/StoreApi.md
index d2229bfd71f4..bb9e7140cc84 100644
--- a/samples/client/petstore/android/httpclient/docs/StoreApi.md
+++ b/samples/client/petstore/android/httpclient/docs/StoreApi.md
@@ -104,7 +104,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
diff --git a/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/StoreApi.java
index 17ad5b2c0840..b0a1f40decce 100644
--- a/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/StoreApi.java
+++ b/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/StoreApi.java
@@ -150,7 +150,7 @@ public Map getInventory () throws ApiException {
}
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched
* @return Order
*/
diff --git a/samples/client/petstore/android/volley/docs/StoreApi.md b/samples/client/petstore/android/volley/docs/StoreApi.md
index d2229bfd71f4..bb9e7140cc84 100644
--- a/samples/client/petstore/android/volley/docs/StoreApi.md
+++ b/samples/client/petstore/android/volley/docs/StoreApi.md
@@ -104,7 +104,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
diff --git a/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/StoreApi.java
index fd69b7573487..a2d1f3635c11 100644
--- a/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/StoreApi.java
+++ b/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/StoreApi.java
@@ -297,7 +297,7 @@ public void onErrorResponse(VolleyError error) {
}
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched
* @return Order
*/
@@ -359,7 +359,7 @@ public Order getOrderById (Long orderId) throws TimeoutException, ExecutionExcep
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched
*/
public void getOrderById (Long orderId, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApi.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApi.cls
index 8ad6201cd16a..6fdc8415e7d2 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApi.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApi.cls
@@ -72,7 +72,7 @@ public class OASStoreApi {
}
/**
* Find purchase order by ID
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* @param orderId ID of pet that needs to be fetched (required)
* @return OASOrder
* @throws OAS.ApiException if fails to make API call
diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
index 548c228a6512..8c1eca4b90a8 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
@@ -53,7 +53,7 @@ private class OASStoreApiTest {
/**
* Find purchase order by ID
*
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
*/
@isTest
private static void getOrderByIdTest() {
diff --git a/samples/client/petstore/async-scala/.openapi-generator-ignore b/samples/client/petstore/async-scala/.openapi-generator-ignore
index c5fa491b4c55..deed424f8a15 100644
--- a/samples/client/petstore/async-scala/.openapi-generator-ignore
+++ b/samples/client/petstore/async-scala/.openapi-generator-ignore
@@ -5,7 +5,7 @@
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
+# You can make changes and tell Swagger Codegen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
diff --git a/samples/client/petstore/bash/client.sh b/samples/client/petstore/bash/client.sh
index 6215aa728ad0..218bee799637 100644
--- a/samples/client/petstore/bash/client.sh
+++ b/samples/client/petstore/bash/client.sh
@@ -24,7 +24,7 @@
#
#
-# For improved pattern matching in case statemets
+# For improved pattern matching in case statements
shopt -s extglob
###############################################################################
@@ -65,7 +65,7 @@ declare -A header_arguments
declare -A operation_parameters
##
-# Declare colors with autodection if output is terminal
+# Declare colors with autodetection if output is terminal
if [ -t 1 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
@@ -591,7 +591,7 @@ build_request_path() {
parameter_value+="${qparam}=${qvalue}"
done
#
- # Append parameters specified as 'mutli' collections i.e. param=value1¶m=value2&...
+ # Append parameters specified as 'multi' collections i.e. param=value1¶m=value2&...
#
elif [[ "${collection_type}" == "multi" ]]; then
local vcount=0
@@ -802,7 +802,7 @@ echo -e " \\t\\t\\t\\t(e.g. 'https://petstore.swagger.io')"
echo -e " \\t\\t\\t\\trequired parameters or wrong content type"
echo -e " --dry-run\\t\\t\\t\\tPrint out the cURL command without"
echo -e " \\t\\t\\t\\texecuting it"
- echo -e " -nc,--no-colors\\t\\t\\tEnforce print without colors, otherwise autodected"
+ echo -e " -nc,--no-colors\\t\\t\\tEnforce print without colors, otherwise autodetected"
echo -e " -ac,--accept ${YELLOW}${OFF}\\t\\tSet the 'Accept' header in the request"
echo -e " -ct,--content-type ${YELLOW}${OFF}\\tSet the 'Content-type' header in "
echo -e " \\tthe request"
@@ -1100,7 +1100,7 @@ print_testGroupParameters_help() {
echo ""
echo -e "${BOLD}${WHITE}Responses${OFF}"
code=400
- echo -e "${result_color_table[${code:0:1}]} 400;Someting wrong${OFF}" | paste -sd' ' | column -t -s ';' | fold -sw 80 | sed '2,$s/^/ /'
+ echo -e "${result_color_table[${code:0:1}]} 400;Something wrong${OFF}" | paste -sd' ' | column -t -s ';' | fold -sw 80 | sed '2,$s/^/ /'
}
##############################################################################
#
@@ -1365,7 +1365,7 @@ print_getOrderById_help() {
echo ""
echo -e "${BOLD}${WHITE}getOrderById - Find purchase order by ID${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /'
echo -e ""
- echo -e "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions" | paste -sd' ' | fold -sw 80
+ echo -e "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions" | paste -sd' ' | fold -sw 80
echo -e ""
echo -e "${BOLD}${WHITE}Parameters${OFF}"
echo -e " * ${GREEN}order_id${OFF} ${BLUE}[integer]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - ID of pet that needs to be fetched ${YELLOW}Specify as: order_id=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /'
@@ -1586,7 +1586,7 @@ call_123Test@$%SpecialTags() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -1736,7 +1736,7 @@ call_fakeOuterBooleanSerialize() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -1814,7 +1814,7 @@ call_fakeOuterCompositeSerialize() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -1892,7 +1892,7 @@ call_fakeOuterNumberSerialize() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -1970,7 +1970,7 @@ call_fakeOuterStringSerialize() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2048,7 +2048,7 @@ call_testBodyWithFileSchema() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2126,7 +2126,7 @@ call_testBodyWithQueryParams() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2204,7 +2204,7 @@ call_testClientModel() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2390,7 +2390,7 @@ call_testInlineAdditionalProperties() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2504,7 +2504,7 @@ call_testClassname() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -2582,7 +2582,7 @@ call_addPet() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
@@ -2802,7 +2802,7 @@ call_updatePet() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
@@ -3094,7 +3094,7 @@ call_placeOrder() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -3172,7 +3172,7 @@ call_createUser() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -3250,7 +3250,7 @@ call_createUsersWithArrayInput() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -3328,7 +3328,7 @@ call_createUsersWithListInput() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -3550,7 +3550,7 @@ call_updateUser() {
#
# Check if the user provided 'Content-type' headers in the
# command line. If not try to set them based on the OpenAPI specification
- # if values produces and consumes are defined unambigously
+ # if values produces and consumes are defined unambiguously
#
if [[ -z $header_content_type ]]; then
header_content_type="application/json"
@@ -3812,7 +3812,7 @@ case $key in
;;
*:=*)
# Parse body arguments and convert them into top level
- # JSON properties passed in the body content without qoutes
+ # JSON properties passed in the body content without quotes
if [[ "$operation" ]]; then
# ignore error about 'sep' being unused
# shellcheck disable=SC2034
diff --git a/samples/client/petstore/bash/docs/StoreApi.md b/samples/client/petstore/bash/docs/StoreApi.md
index 56b2934562b5..1f43de0867d3 100644
--- a/samples/client/petstore/bash/docs/StoreApi.md
+++ b/samples/client/petstore/bash/docs/StoreApi.md
@@ -82,7 +82,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
diff --git a/samples/client/petstore/bash/petstore-cli b/samples/client/petstore/bash/petstore-cli
index 6810f2afa158..5ffeb5205bbf 100755
--- a/samples/client/petstore/bash/petstore-cli
+++ b/samples/client/petstore/bash/petstore-cli
@@ -1127,7 +1127,7 @@ print_testGroupParameters_help() {
echo ""
echo -e "${BOLD}${WHITE}Responses${OFF}"
code=400
- echo -e "${result_color_table[${code:0:1}]} 400;Someting wrong${OFF}" | paste -sd' ' | column -t -s ';' | fold -sw 80 | sed '2,$s/^/ /'
+ echo -e "${result_color_table[${code:0:1}]} 400;Something wrong${OFF}" | paste -sd' ' | column -t -s ';' | fold -sw 80 | sed '2,$s/^/ /'
}
##############################################################################
#
@@ -1425,7 +1425,7 @@ print_getOrderById_help() {
echo ""
echo -e "${BOLD}${WHITE}getOrderById - Find purchase order by ID${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /'
echo -e ""
- echo -e "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions" | paste -sd' ' | fold -sw 80
+ echo -e "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions" | paste -sd' ' | fold -sw 80
echo -e ""
echo -e "${BOLD}${WHITE}Parameters${OFF}"
echo -e " * ${GREEN}order_id${OFF} ${BLUE}[integer]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - ID of pet that needs to be fetched ${YELLOW}Specify as: order_id=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /'
diff --git a/samples/client/petstore/c/CMakeLists.txt b/samples/client/petstore/c/CMakeLists.txt
index 98454803ef5f..cca11426642a 100644
--- a/samples/client/petstore/c/CMakeLists.txt
+++ b/samples/client/petstore/c/CMakeLists.txt
@@ -66,7 +66,7 @@ set(SRCS "")
set(HDRS "")
-## This section shows how to use the above compiled libary to compile the source files
+## This section shows how to use the above compiled library to compile the source files
## set source files
#set(SRCS
# unit-tests/manual-PetAPI.c
@@ -81,12 +81,12 @@ set(HDRS "")
## loop over all files in SRCS variable
#foreach(SOURCE_FILE ${SRCS})
-# # Get only the file name from the file as add_executable doesnot support executable with slash("/")
+# # Get only the file name from the file as add_executable doesn't support executable with slash("/")
# get_filename_component(FILE_NAME_ONLY ${SOURCE_FILE} NAME_WE)
# # Remove .c from the file name and set it as executable name
# string( REPLACE ".c" "" EXECUTABLE_FILE ${FILE_NAME_ONLY})
# # Add executable for every source file in SRCS
# add_executable(unit-${EXECUTABLE_FILE} ${SOURCE_FILE})
-# # Link above created libary to executable and dependent libary curl
+# # Link above created library to executable and dependent library curl
# target_link_libraries(unit-${EXECUTABLE_FILE} ${CURL_LIBRARIES} ${pkgName} )
#endforeach(SOURCE_FILE ${SRCS})
diff --git a/samples/client/petstore/c/api/StoreAPI.c b/samples/client/petstore/c/api/StoreAPI.c
index 3208b8ae53a2..c91a9d709dcf 100644
--- a/samples/client/petstore/c/api/StoreAPI.c
+++ b/samples/client/petstore/c/api/StoreAPI.c
@@ -144,7 +144,7 @@ StoreAPI_getInventory(apiClient_t *apiClient)
// Find purchase order by ID
//
-// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
//
order_t*
StoreAPI_getOrderById(apiClient_t *apiClient, long orderId )
diff --git a/samples/client/petstore/c/api/StoreAPI.h b/samples/client/petstore/c/api/StoreAPI.h
index 43bdf7583767..99e4f25d37dd 100644
--- a/samples/client/petstore/c/api/StoreAPI.h
+++ b/samples/client/petstore/c/api/StoreAPI.h
@@ -26,7 +26,7 @@ StoreAPI_getInventory(apiClient_t *apiClient);
// Find purchase order by ID
//
-// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
//
order_t*
StoreAPI_getOrderById(apiClient_t *apiClient, long orderId );
diff --git a/samples/client/petstore/c/docs/StoreAPI.md b/samples/client/petstore/c/docs/StoreAPI.md
index 3c6736897ec4..45462990e055 100644
--- a/samples/client/petstore/c/docs/StoreAPI.md
+++ b/samples/client/petstore/c/docs/StoreAPI.md
@@ -77,7 +77,7 @@ list_t*
```c
// Find purchase order by ID
//
-// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
//
order_t* StoreAPI_getOrderById(apiClient_t *apiClient, long orderId);
```
diff --git a/samples/client/petstore/c/external/cJSON.c b/samples/client/petstore/c/external/cJSON.c
index 2139b5efd936..afc9ff0db8b2 100644
--- a/samples/client/petstore/c/external/cJSON.c
+++ b/samples/client/petstore/c/external/cJSON.c
@@ -125,7 +125,7 @@ typedef struct internal_hooks
} internal_hooks;
#if defined(_MSC_VER)
-/* work around MSVC error C2322: '...' address of dillimport '...' is not static */
+/* work around MSVC error C2322: '...' address of dllimport '...' is not static */
static void *internal_malloc(size_t size)
{
return malloc(size);
diff --git a/samples/client/petstore/c/unit-tests/manual-user.c b/samples/client/petstore/c/unit-tests/manual-user.c
index 738b21e22b2a..1200baa2e5d2 100644
--- a/samples/client/petstore/c/unit-tests/manual-user.c
+++ b/samples/client/petstore/c/unit-tests/manual-user.c
@@ -24,16 +24,16 @@ int main() {
printf("Created User is: \n%s\n", dataToPrint);
- user_t *pasrsedUser = user_parseFromJSON(JSONNODE);
+ user_t *parsedUser = user_parseFromJSON(JSONNODE);
- cJSON *fromJSON = user_convertToJSON(pasrsedUser);
+ cJSON *fromJSON = user_convertToJSON(parsedUser);
char *dataToPrintFromJSON = cJSON_Print(fromJSON);
printf("Parsed User From JSON is: \n%s\n", dataToPrintFromJSON);
user_free(newuser);
- user_free(pasrsedUser);
+ user_free(parsedUser);
cJSON_Delete(JSONNODE);
cJSON_Delete(fromJSON);
}
diff --git a/samples/client/petstore/clojure/git_push.sh b/samples/client/petstore/clojure/git_push.sh
index 8442b80bb445..f8c12cff4894 100644
--- a/samples/client/petstore/clojure/git_push.sh
+++ b/samples/client/petstore/clojure/git_push.sh
@@ -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"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/samples/client/petstore/clojure/src/open_api_petstore/api/store.clj b/samples/client/petstore/clojure/src/open_api_petstore/api/store.clj
index a91c086c3fd4..f47fa3d69f9d 100644
--- a/samples/client/petstore/clojure/src/open_api_petstore/api/store.clj
+++ b/samples/client/petstore/clojure/src/open_api_petstore/api/store.clj
@@ -61,7 +61,7 @@
(defn-spec get-order-by-id-with-http-info any?
"Find purchase order by ID
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"
+ For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions"
[orderId string?]
(check-required-params orderId)
(call-api "/store/order/{orderId}" :get
@@ -75,7 +75,7 @@
(defn-spec get-order-by-id order-spec
"Find purchase order by ID
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"
+ For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions"
[orderId string?]
(let [res (:data (get-order-by-id-with-http-info orderId))]
(if (:decode-models *api-context*)
diff --git a/samples/client/petstore/clojure/src/open_api_petstore/core.clj b/samples/client/petstore/clojure/src/open_api_petstore/core.clj
index ef30d6d25161..7c5e0def9496 100644
--- a/samples/client/petstore/clojure/src/open_api_petstore/core.clj
+++ b/samples/client/petstore/clojure/src/open_api_petstore/core.clj
@@ -105,7 +105,7 @@
:else (str param)))
(defn auth->opts
- "Process the given auth to an option map that might conatin request options and parameters."
+ "Process the given auth to an option map that might contain request options and parameters."
[{:keys [type in param-name]} value]
(case type
:basic {:req-opts {:basic-auth value}}
@@ -126,7 +126,7 @@
opts))
(defn auths->opts
- "Process the given auth names to an option map that might conatin request options and parameters."
+ "Process the given auth names to an option map that might contain request options and parameters."
[auth-names]
(reduce process-auth {} auth-names))
@@ -142,7 +142,7 @@
(str (:base-url *api-context*) path)))
(defn normalize-array-param
- "Normalize array paramater according to :collection-format specified in the parameter's meta data.
+ "Normalize array parameter according to :collection-format specified in the parameter's meta data.
When the parameter contains File, a seq is returned so as to keep File parameters.
For :multi collection format, a seq is returned which will be handled properly by clj-http.
For other cases, a string is returned."
diff --git a/samples/client/petstore/cpp-qt/build-and-test.bash b/samples/client/petstore/cpp-qt/build-and-test.bash
index bcf96489533f..4104bdac1bc7 100755
--- a/samples/client/petstore/cpp-qt/build-and-test.bash
+++ b/samples/client/petstore/cpp-qt/build-and-test.bash
@@ -35,7 +35,7 @@ else
exit 1
fi
- echo "Check if no memory leaks occured:"
+ echo "Check if no memory leaks occurred:"
leakCount=$(cat result.log | grep 'lost: 0 bytes in 0 blocks' | wc -l)
if [ $leakCount == 3 ]
then
diff --git a/samples/client/petstore/cpp-restsdk/client/include/CppRestPetstoreClient/api/StoreApi.h b/samples/client/petstore/cpp-restsdk/client/include/CppRestPetstoreClient/api/StoreApi.h
index 5140fc90a793..57496ef7dd25 100644
--- a/samples/client/petstore/cpp-restsdk/client/include/CppRestPetstoreClient/api/StoreApi.h
+++ b/samples/client/petstore/cpp-restsdk/client/include/CppRestPetstoreClient/api/StoreApi.h
@@ -66,7 +66,7 @@ class StoreApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
pplx::task> getOrderById(
diff --git a/samples/client/petstore/cpp-tiny/lib/service/StoreApi.h b/samples/client/petstore/cpp-tiny/lib/service/StoreApi.h
index b7a6781bd429..dd29c9f96e1e 100644
--- a/samples/client/petstore/cpp-tiny/lib/service/StoreApi.h
+++ b/samples/client/petstore/cpp-tiny/lib/service/StoreApi.h
@@ -51,7 +51,7 @@ class StoreApi : public Service {
/**
* Find purchase order by ID.
*
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* \param orderId ID of pet that needs to be fetched *Required*
*/
Response<
diff --git a/samples/client/petstore/cpp-tizen/doc/Doxyfile b/samples/client/petstore/cpp-tizen/doc/Doxyfile
index 9a0ba8f71860..8d056fd3d458 100644
--- a/samples/client/petstore/cpp-tizen/doc/Doxyfile
+++ b/samples/client/petstore/cpp-tizen/doc/Doxyfile
@@ -294,7 +294,7 @@ MARKDOWN_SUPPORT = YES
# When enabled doxygen tries to link words that correspond to documented
# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by by putting a % sign in front of the word
+# be prevented in individual cases by putting a % sign in front of the word
# or globally by setting AUTOLINK_SUPPORT to NO.
# The default value is: YES.
@@ -1397,7 +1397,7 @@ EXT_LINKS_IN_WINDOW = NO
FORMULA_FONTSIZE = 10
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are not
# supported properly for IE 6.0, but are supported on all modern browsers.
#
diff --git a/samples/client/petstore/cpp-tizen/src/StoreManager.h b/samples/client/petstore/cpp-tizen/src/StoreManager.h
index 9736475b3810..7db3e783bba3 100644
--- a/samples/client/petstore/cpp-tizen/src/StoreManager.h
+++ b/samples/client/petstore/cpp-tizen/src/StoreManager.h
@@ -79,7 +79,7 @@ bool getInventoryAsync(char * accessToken,
/*! \brief Find purchase order by ID. *Synchronous*
*
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* \param orderId ID of pet that needs to be fetched *Required*
* \param handler The callback function to be invoked on completion. *Required*
* \param accessToken The Authorization token. *Required*
@@ -92,7 +92,7 @@ bool getOrderByIdSync(char * accessToken,
/*! \brief Find purchase order by ID. *Asynchronous*
*
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
* \param orderId ID of pet that needs to be fetched *Required*
* \param handler The callback function to be invoked on completion. *Required*
* \param accessToken The Authorization token. *Required*
diff --git a/samples/client/petstore/cpp-ue4/Public/OpenAPIStoreApiOperations.h b/samples/client/petstore/cpp-ue4/Public/OpenAPIStoreApiOperations.h
index e0703baa3afc..9df366173a3b 100644
--- a/samples/client/petstore/cpp-ue4/Public/OpenAPIStoreApiOperations.h
+++ b/samples/client/petstore/cpp-ue4/Public/OpenAPIStoreApiOperations.h
@@ -70,7 +70,7 @@ class OPENAPI_API OpenAPIStoreApi::GetInventoryResponse : public Response
/* Find purchase order by ID
*
- * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
*/
class OPENAPI_API OpenAPIStoreApi::GetOrderByIdRequest : public Request
{
diff --git a/samples/client/petstore/crystal/spec/api/store_api_spec.cr b/samples/client/petstore/crystal/spec/api/store_api_spec.cr
index 592747d6fe7b..05fd3146d882 100644
--- a/samples/client/petstore/crystal/spec/api/store_api_spec.cr
+++ b/samples/client/petstore/crystal/spec/api/store_api_spec.cr
@@ -48,7 +48,7 @@ describe "StoreApi" do
# unit tests for get_order_by_id
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order_id ID of pet that needs to be fetched
# @param [Hash] opts the optional parameters
# @return [Order]
diff --git a/samples/client/petstore/crystal/src/petstore/api/store_api.cr b/samples/client/petstore/crystal/src/petstore/api/store_api.cr
index f24fae790333..76d3c836d9a1 100644
--- a/samples/client/petstore/crystal/src/petstore/api/store_api.cr
+++ b/samples/client/petstore/crystal/src/petstore/api/store_api.cr
@@ -128,7 +128,7 @@ module Petstore
end
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order_id [Int64] ID of pet that needs to be fetched
# @return [Order]
def get_order_by_id(order_id : Int64)
@@ -137,7 +137,7 @@ module Petstore
end
# Find purchase order by ID
- # For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ # For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
# @param order_id [Int64] ID of pet that needs to be fetched
# @return [Array<(Order, Integer, Hash)>] Order data, response status code and response headers
def get_order_by_id_with_http_info(order_id : Int64)
diff --git a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/StoreApi.md b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/StoreApi.md
index 068cb5419f84..d68fa5efb813 100644
--- a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/StoreApi.md
+++ b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/StoreApi.md
@@ -138,7 +138,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
index df7be44e7b95..423d179cdbe3 100644
--- a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
@@ -23,7 +23,7 @@ public interface IStoreApi
/// Dictionary<string, int?>
Dictionary GetInventory ();
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
/// Order
@@ -159,7 +159,7 @@ public void DeleteOrder (string orderId)
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
/// Order
diff --git a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
index e1d91307dcfe..7b0d472a06ed 100644
--- a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
+++ b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
@@ -14,7 +14,7 @@
namespace Org.OpenAPITools.Client
{
///
- /// API client is mainly responible for making the HTTP call to the API backend.
+ /// API client is mainly responsible for making the HTTP call to the API backend.
///
public class ApiClient
{
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/StoreApi.md b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/StoreApi.md
index 76334b0ca4dc..58e85fb6eb64 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/StoreApi.md
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/StoreApi.md
@@ -140,7 +140,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
index 3390bbbcaba7..c23c321d6371 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/StoreApi.cs
@@ -23,7 +23,7 @@ public interface IStoreApi
/// Dictionary<string, int?>
Dictionary GetInventory ();
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
/// Order
@@ -159,7 +159,7 @@ public void DeleteOrder (string orderId)
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
/// Order
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
index 095f97997ec3..5903fde02ad2 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/ApiClient.cs
@@ -14,7 +14,7 @@
namespace Org.OpenAPITools.Client
{
///
- /// API client is mainly responible for making the HTTP call to the API backend.
+ /// API client is mainly responsible for making the HTTP call to the API backend.
///
public class ApiClient
{
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/Configuration.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/Configuration.cs
index 8cac9c7d9db5..7546607fa992 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/Configuration.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Client/Configuration.cs
@@ -84,7 +84,7 @@ public static String TempFolderPath
private static string _dateTimeFormat = ISO8601_DATETIME_FORMAT;
///
- /// Gets or sets the the date time format used when serializing in the ApiClient
+ /// Gets or sets the date time format used when serializing in the ApiClient
/// By default, it's set to ISO 8601 - "o", for others see:
/// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx
/// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx
diff --git a/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/ApiClient.cs b/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/ApiClient.cs
index 4f68a59871e7..fe4dcf5a24da 100644
--- a/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/ApiClient.cs
+++ b/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/ApiClient.cs
@@ -157,7 +157,7 @@ public string ContentType
}
}
///
- /// Provides a default implementation of an Api client (both synchronous and asynchronous implementatios),
+ /// Provides a default implementation of an Api client (both synchronous and asynchronous implementations),
/// encapsulating general REST accessor use cases.
///
public partial class ApiClient : ISynchronousClient, IAsynchronousClient
@@ -166,7 +166,7 @@ public partial class ApiClient : ISynchronousClient, IAsynchronousClient
///
/// Specifies the settings on a object.
- /// These settings can be adjusted to accomodate custom serialization rules.
+ /// These settings can be adjusted to accommodate custom serialization rules.
///
public JsonSerializerSettings SerializerSettings { get; set; } = new JsonSerializerSettings
{
diff --git a/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/Configuration.cs b/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/Configuration.cs
index 896bd754ea5f..897d5a1c666a 100644
--- a/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/Configuration.cs
+++ b/samples/client/petstore/csharp-netcore-functions/generatedSrc/Client/Configuration.cs
@@ -71,7 +71,7 @@ public class Configuration : IReadableConfiguration
///
/// Gets or sets the API key based on the authentication name.
- /// This is the key and value comprising the "secret" for acessing an API.
+ /// This is the key and value comprising the "secret" for accessing an API.
///
/// The API key.
private IDictionary _apiKey;
@@ -425,7 +425,7 @@ public string GetServerUrl(int index, Dictionary inputVariables)
}
else
{
- // use defualt value
+ // use default value
url = url.Replace("{" + variable.Key + "}", (string)serverVariables["default_value"]);
}
}
diff --git a/samples/client/petstore/csharp-netcore-functions/git_push.sh b/samples/client/petstore/csharp-netcore-functions/git_push.sh
index ced3be2b0c7b..200e975d2120 100644
--- a/samples/client/petstore/csharp-netcore-functions/git_push.sh
+++ b/samples/client/petstore/csharp-netcore-functions/git_push.sh
@@ -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
diff --git a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/ApiClient.cs b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/ApiClient.cs
index 4f68a59871e7..fe4dcf5a24da 100644
--- a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/ApiClient.cs
+++ b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/ApiClient.cs
@@ -157,7 +157,7 @@ public string ContentType
}
}
///
- /// Provides a default implementation of an Api client (both synchronous and asynchronous implementatios),
+ /// Provides a default implementation of an Api client (both synchronous and asynchronous implementations),
/// encapsulating general REST accessor use cases.
///
public partial class ApiClient : ISynchronousClient, IAsynchronousClient
@@ -166,7 +166,7 @@ public partial class ApiClient : ISynchronousClient, IAsynchronousClient
///
/// Specifies the settings on a object.
- /// These settings can be adjusted to accomodate custom serialization rules.
+ /// These settings can be adjusted to accommodate custom serialization rules.
///
public JsonSerializerSettings SerializerSettings { get; set; } = new JsonSerializerSettings
{
diff --git a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/Configuration.cs b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/Configuration.cs
index 896bd754ea5f..897d5a1c666a 100644
--- a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/Configuration.cs
+++ b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/Configuration.cs
@@ -71,7 +71,7 @@ public class Configuration : IReadableConfiguration
///
/// Gets or sets the API key based on the authentication name.
- /// This is the key and value comprising the "secret" for acessing an API.
+ /// This is the key and value comprising the "secret" for accessing an API.
///
/// The API key.
private IDictionary _apiKey;
@@ -425,7 +425,7 @@ public string GetServerUrl(int index, Dictionary inputVariables)
}
else
{
- // use defualt value
+ // use default value
url = url.Replace("{" + variable.Key + "}", (string)serverVariables["default_value"]);
}
}
diff --git a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/IReadableConfiguration.cs b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/IReadableConfiguration.cs
index 00bedba8ee28..cd8f3fdb1f37 100644
--- a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/IReadableConfiguration.cs
+++ b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/IReadableConfiguration.cs
@@ -47,7 +47,7 @@ public interface IReadableConfiguration
///
/// Gets the date time format.
///
- /// Date time foramt.
+ /// Date time format.
string DateTimeFormat { get; }
///
diff --git a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/RequestOptions.cs b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/RequestOptions.cs
index c6b3ccc38f22..a6377408779c 100644
--- a/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/RequestOptions.cs
+++ b/samples/client/petstore/csharp-netcore-functions/src/Org.OpenAPITools/Client/RequestOptions.cs
@@ -33,7 +33,7 @@ public class RequestOptions
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md
index 46d135e359f8..212d1d35c49b 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md
@@ -1121,7 +1121,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Someting wrong | - |
+| **400** | Something wrong | - |
[[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)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md
index 95bbe1b2f13f..de4414feafc5 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md
@@ -194,7 +194,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/StoreApi.cs
index e01ed1625899..e8bed0a150ec 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/StoreApi.cs
@@ -75,7 +75,7 @@ public interface IStoreApiSync : IApiAccessor
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -87,7 +87,7 @@ public interface IStoreApiSync : IApiAccessor
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -175,7 +175,7 @@ public interface IStoreApiAsync : IApiAccessor
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -188,7 +188,7 @@ public interface IStoreApiAsync : IApiAccessor
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -618,7 +618,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetInventory
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -631,7 +631,7 @@ public Order GetOrderById(long orderId, int operationIndex = 0)
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -683,7 +683,7 @@ public Org.OpenAPITools.Client.ApiResponse GetOrderByIdWithHttpInfo(long
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -697,7 +697,7 @@ public Org.OpenAPITools.Client.ApiResponse GetOrderByIdWithHttpInfo(long
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Client/RequestOptions.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Client/RequestOptions.cs
index 4c26cf69b24d..f5e02e93f0f9 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Client/RequestOptions.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Client/RequestOptions.cs
@@ -33,7 +33,7 @@ public class RequestOptions
public Multimap QueryParameters { get; set; }
///
- /// Header parameters to be applied to to the request.
+ /// Header parameters to be applied to the request.
/// Keys may have 1 or more values associated.
///
public Multimap HeaderParameters { get; set; }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/README.md
index 2ecf1cd41c80..b2a159fd0a93 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/README.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/README.md
@@ -216,7 +216,7 @@ Authentication schemes defined for the API:
- modelTests: true
- withXml:
-## [OpenApi Generator Parameteres](https://openapi-generator.tech/docs/generators/csharp-netcore)
+## [OpenApi Generator Parameters](https://openapi-generator.tech/docs/generators/csharp-netcore)
- allowUnicodeIdentifiers:
- apiName: Api
- caseInsensitiveResponseHeaders:
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md
index c1202fdbf367..a179355d603f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md
@@ -1121,7 +1121,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Someting wrong | - |
+| **400** | Something wrong | - |
[[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)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md
index 04c9407eb43b..aa0a568fc528 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md
@@ -194,7 +194,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/scripts/git_push.ps1 b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/scripts/git_push.ps1
index 0a2d4e52280a..73ed35c2bb10 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/scripts/git_push.ps1
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/scripts/git_push.ps1
@@ -49,7 +49,7 @@ Set-StrictMode -Version 3.0
if ($Help){
Write-Output "
This script will initialize a git repository, then add and commit all files.
- The local repository will then be pushed to your prefered git provider.
+ The local repository will then be pushed to your preferred git provider.
If the remote repository does not exist yet and you are using GitHub,
the repository will be created for you provided you have the GitHub CLI installed.
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
index 7c19f93d3d81..87be0ad41e07 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
@@ -240,7 +240,7 @@ public AnotherFakeApi(ILogger logger, HttpClient httpClient, Jso
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -255,7 +255,7 @@ public AnotherFakeApi(ILogger logger, HttpClient httpClient, Jso
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/DefaultApi.cs
index 1f9ed0913df2..74a3ab0165de 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/DefaultApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/DefaultApi.cs
@@ -214,7 +214,7 @@ public DefaultApi(ILogger logger, HttpClient httpClient, JsonSeriali
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -229,7 +229,7 @@ public DefaultApi(ILogger logger, HttpClient httpClient, JsonSeriali
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeApi.cs
index da538a367ba5..56d7a03ec388 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -808,7 +808,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -823,7 +823,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -927,7 +927,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -942,7 +942,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1046,7 +1046,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1061,7 +1061,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1165,7 +1165,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1180,7 +1180,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1284,7 +1284,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1299,7 +1299,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1387,7 +1387,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1402,7 +1402,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1504,7 +1504,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1519,7 +1519,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1633,7 +1633,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1648,7 +1648,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1759,7 +1759,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1774,7 +1774,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1974,7 +1974,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1992,7 +1992,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2139,7 +2139,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2154,7 +2154,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2290,7 +2290,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2308,7 +2308,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2410,7 +2410,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2425,7 +2425,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2541,7 +2541,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2556,7 +2556,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2679,7 +2679,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2694,7 +2694,7 @@ public FakeApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
index c73a45013662..631e6abe1542 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
@@ -252,7 +252,7 @@ public FakeClassnameTags123Api(ILogger logger, HttpClie
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -270,7 +270,7 @@ public FakeClassnameTags123Api(ILogger logger, HttpClie
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/PetApi.cs
index d54ddb22b1d4..b86139fcd5fc 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/PetApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/PetApi.cs
@@ -557,7 +557,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -578,7 +578,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -682,7 +682,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -700,7 +700,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -821,7 +821,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -842,7 +842,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -963,7 +963,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -984,7 +984,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1092,7 +1092,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1110,7 +1110,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1229,7 +1229,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1250,7 +1250,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1377,7 +1377,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1395,7 +1395,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1531,7 +1531,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1549,7 +1549,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1688,7 +1688,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1706,7 +1706,7 @@ public PetApi(ILogger logger, HttpClient httpClient, JsonSerializerOptio
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/StoreApi.cs
index d09c3633b59c..1d07247d8e6f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/StoreApi.cs
@@ -101,7 +101,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -113,7 +113,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -125,7 +125,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// ID of pet that needs to be fetched
/// Cancellation Token to cancel the request.
@@ -324,7 +324,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -339,7 +339,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -435,7 +435,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -453,13 +453,13 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -476,7 +476,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -499,7 +499,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -553,7 +553,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -568,7 +568,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -680,7 +680,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -695,7 +695,7 @@ public StoreApi(ILogger logger, HttpClient httpClient, JsonSerializerO
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/UserApi.cs
index 8e886e254d90..1d51468c105f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/UserApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/UserApi.cs
@@ -486,7 +486,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -501,7 +501,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -603,7 +603,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -618,7 +618,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -720,7 +720,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -735,7 +735,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -825,7 +825,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -840,7 +840,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -940,7 +940,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -955,7 +955,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1067,7 +1067,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1082,7 +1082,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1161,7 +1161,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1176,7 +1176,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1285,7 +1285,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1300,7 +1300,7 @@ public UserApi(ILogger logger, HttpClient httpClient, JsonSerializerOpt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiException.cs
index 067639ab9ff2..76274524017f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiException.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiException.cs
@@ -35,7 +35,7 @@ public class ApiException : Exception
public string RawContent { get; }
///
- /// Construct the ApiException from parts of the reponse
+ /// Construct the ApiException from parts of the response
///
///
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiResponse`1.cs
index 78a0047905cf..36696f85be39 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiResponse`1.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/ApiResponse`1.cs
@@ -87,7 +87,7 @@ public Type ResponseType
#endregion Properties
///
- /// Construct the reponse using an HttpResponseMessage
+ /// Construct the response using an HttpResponseMessage
///
///
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
index 0c4101dd74a2..eb4b80c87416 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
@@ -196,7 +196,7 @@ internal Dictionary GetHttpSignedHeader(System.Net.Http.HttpRequ
foreach (var keyVal in httpSignatureHeader)
headerValuesList.Add(string.Format("{0}: {1}", keyVal.Key, keyVal.Value));
- //Concatinate headers value separated by new line
+ //Concatenate headers value separated by new line
var headerValuesString = string.Join("\n", headerValuesList);
var signatureStringHash = GetStringHash(HashAlgorithm.ToString(), headerValuesString);
string? headerSignatureStr = null;
@@ -324,7 +324,7 @@ private string GetECDSASignature(byte[] dataToSign)
private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
{
var derBytes = new List();
- byte derLength = 68; //default lenght for ECDSA code signinged bit 0x44
+ byte derLength = 68; //default length for ECDSA code signing bit 0x44
byte rbytesLength = 32; //R length 0x20
byte sbytesLength = 32; //S length 0x20
var rBytes = new List();
@@ -359,7 +359,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
}
derBytes.Add(48); //start of the sequence 0x30
- derBytes.Add(derLength); //total length r lenth, type and r bytes
+ derBytes.Add(derLength); //total length r length, type and r bytes
derBytes.Add(2); //tag for integer
derBytes.Add(rbytesLength); //length of r
@@ -371,7 +371,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
return derBytes.ToArray();
}
- private RSACryptoServiceProvider? GetRSAProviderFromPemFile(String pemfile, SecureString? keyPassPharse = null)
+ private RSACryptoServiceProvider? GetRSAProviderFromPemFile(String pemfile, SecureString? keyPassPhrase = null)
{
const String pempubheader = "-----BEGIN PUBLIC KEY-----";
const String pempubfooter = "-----END PUBLIC KEY-----";
@@ -388,7 +388,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
if (isPrivateKeyFile)
{
- pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPharse);
+ pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPhrase);
if (pemkey == null)
return null;
@@ -398,7 +398,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
return null;
}
- private byte[]? ConvertPrivateKeyToBytes(String instr, SecureString? keyPassPharse = null)
+ private byte[]? ConvertPrivateKeyToBytes(String instr, SecureString? keyPassPhrase = null)
{
const String pemprivheader = "-----BEGIN RSA PRIVATE KEY-----";
const String pemprivfooter = "-----END RSA PRIVATE KEY-----";
@@ -446,12 +446,12 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
binkey = Convert.FromBase64String(encryptedstr);
}
catch (System.FormatException)
- { //data is not in base64 fromat
+ { //data is not in base64 format
return null;
}
- // TODO: what do we do here if keyPassPharse is null?
- byte[] deskey = GetEncryptedKey(salt, keyPassPharse!, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
+ // TODO: what do we do here if keyPassPhrase is null?
+ byte[] deskey = GetEncryptedKey(salt, keyPassPhrase!, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
if (deskey == null)
return null;
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/README.md
index c109d03e6ffe..6c332bb5d1bd 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/README.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/README.md
@@ -216,7 +216,7 @@ Authentication schemes defined for the API:
- modelTests: true
- withXml:
-## [OpenApi Generator Parameteres](https://openapi-generator.tech/docs/generators/csharp-netcore)
+## [OpenApi Generator Parameters](https://openapi-generator.tech/docs/generators/csharp-netcore)
- allowUnicodeIdentifiers:
- apiName: Api
- caseInsensitiveResponseHeaders:
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md
index dd5e3225a65a..f17e38282a0c 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md
@@ -1121,7 +1121,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Someting wrong | - |
+| **400** | Something wrong | - |
[[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)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md
index 04c9407eb43b..aa0a568fc528 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md
@@ -194,7 +194,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/scripts/git_push.ps1 b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/scripts/git_push.ps1
index 0a2d4e52280a..73ed35c2bb10 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/scripts/git_push.ps1
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/scripts/git_push.ps1
@@ -49,7 +49,7 @@ Set-StrictMode -Version 3.0
if ($Help){
Write-Output "
This script will initialize a git repository, then add and commit all files.
- The local repository will then be pushed to your prefered git provider.
+ The local repository will then be pushed to your preferred git provider.
If the remote repository does not exist yet and you are using GitHub,
the repository will be created for you provided you have the GitHub CLI installed.
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
index bfbb57aac81c..428a326e69ef 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
@@ -225,7 +225,7 @@ public async Task> Call123TestSpecialTagsWithHttpInfoAs
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -240,7 +240,7 @@ public async Task> Call123TestSpecialTagsWithHttpInfoAs
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/DefaultApi.cs
index 7877e961c271..78cd56816619 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/DefaultApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/DefaultApi.cs
@@ -200,7 +200,7 @@ public async Task> FooGetWithHttpInfoAsync(Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -215,7 +215,7 @@ public async Task> FooGetWithHttpInfoAsync(Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeApi.cs
index 23fd9c57a981..0f8c448ecd78 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -582,7 +582,7 @@ public async Task> FakeHealthGetWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -597,7 +597,7 @@ public async Task> FakeHealthGetWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -680,7 +680,7 @@ public async Task> FakeOuterBooleanSerializeWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -695,7 +695,7 @@ public async Task> FakeOuterBooleanSerializeWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -799,7 +799,7 @@ public async Task> FakeOuterCompositeSerializeWithHt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -814,7 +814,7 @@ public async Task> FakeOuterCompositeSerializeWithHt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -897,7 +897,7 @@ public async Task> FakeOuterNumberSerializeWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -912,7 +912,7 @@ public async Task> FakeOuterNumberSerializeWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -995,7 +995,7 @@ public async Task> FakeOuterStringSerializeWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1010,7 +1010,7 @@ public async Task> FakeOuterStringSerializeWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1098,7 +1098,7 @@ public async Task>> GetArrayOfEnumsWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1113,7 +1113,7 @@ public async Task>> GetArrayOfEnumsWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1215,7 +1215,7 @@ public async Task> TestBodyWithFileSchemaWithHttpInfoAsync(F
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1230,7 +1230,7 @@ public async Task> TestBodyWithFileSchemaWithHttpInfoAsync(F
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1344,7 +1344,7 @@ public async Task> TestBodyWithQueryParamsWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1359,7 +1359,7 @@ public async Task> TestBodyWithQueryParamsWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1470,7 +1470,7 @@ public async Task> TestClientModelWithHttpInfoAsync(Mod
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1485,7 +1485,7 @@ public async Task> TestClientModelWithHttpInfoAsync(Mod
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1679,7 +1679,7 @@ public async Task> TestEndpointParametersWithHttpInfoAsync(d
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1697,7 +1697,7 @@ public async Task> TestEndpointParametersWithHttpInfoAsync(d
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1844,7 +1844,7 @@ public async Task> TestEnumParametersWithHttpInfoAsync(List<
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1859,7 +1859,7 @@ public async Task> TestEnumParametersWithHttpInfoAsync(List<
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1986,7 +1986,7 @@ public async Task> TestGroupParametersWithHttpInfoAsync(int
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2004,7 +2004,7 @@ public async Task> TestGroupParametersWithHttpInfoAsync(int
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2106,7 +2106,7 @@ public async Task> TestInlineAdditionalPropertiesWithHttpInf
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2121,7 +2121,7 @@ public async Task> TestInlineAdditionalPropertiesWithHttpInf
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2237,7 +2237,7 @@ public async Task> TestJsonFormDataWithHttpInfoAsync(string
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2252,7 +2252,7 @@ public async Task> TestJsonFormDataWithHttpInfoAsync(string
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2375,7 +2375,7 @@ public async Task> TestQueryParameterCollectionFormatWithHtt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2390,7 +2390,7 @@ public async Task> TestQueryParameterCollectionFormatWithHtt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
index 05debff86aba..321be9fcde06 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
@@ -237,7 +237,7 @@ public async Task> TestClassnameWithHttpInfoAsync(Model
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -255,7 +255,7 @@ public async Task> TestClassnameWithHttpInfoAsync(Model
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/PetApi.cs
index 8f01a7fc364c..53546aadb166 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/PetApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/PetApi.cs
@@ -431,7 +431,7 @@ public async Task> AddPetWithHttpInfoAsync(Pet pet, System.T
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -452,7 +452,7 @@ public async Task> AddPetWithHttpInfoAsync(Pet pet, System.T
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -553,7 +553,7 @@ public async Task> DeletePetWithHttpInfoAsync(long petId, st
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -571,7 +571,7 @@ public async Task> DeletePetWithHttpInfoAsync(long petId, st
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -692,7 +692,7 @@ public async Task>> FindPetsByStatusWithHttpInfoAsync(List
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -713,7 +713,7 @@ public async Task>> FindPetsByStatusWithHttpInfoAsync(List
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -834,7 +834,7 @@ public async Task>> FindPetsByTagsWithHttpInfoAsync(List>> FindPetsByTagsWithHttpInfoAsync(List> GetPetByIdWithHttpInfoAsync(long petId, Syst
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -978,7 +978,7 @@ public async Task> GetPetByIdWithHttpInfoAsync(long petId, Syst
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1097,7 +1097,7 @@ public async Task> UpdatePetWithHttpInfoAsync(Pet pet, Syste
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1118,7 +1118,7 @@ public async Task> UpdatePetWithHttpInfoAsync(Pet pet, Syste
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1242,7 +1242,7 @@ public async Task> UpdatePetWithFormWithHttpInfoAsync(long p
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1260,7 +1260,7 @@ public async Task> UpdatePetWithFormWithHttpInfoAsync(long p
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1393,7 +1393,7 @@ public async Task> UploadFileWithHttpInfoAsync(long pet
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1411,7 +1411,7 @@ public async Task> UploadFileWithHttpInfoAsync(long pet
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1547,7 +1547,7 @@ public async Task> UploadFileWithRequiredFileWithHttpIn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1565,7 +1565,7 @@ public async Task> UploadFileWithRequiredFileWithHttpIn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/StoreApi.cs
index cee9bd767c6e..e8a5a11078b0 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/StoreApi.cs
@@ -74,7 +74,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -86,7 +86,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -271,7 +271,7 @@ public async Task> DeleteOrderWithHttpInfoAsync(string order
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -286,7 +286,7 @@ public async Task> DeleteOrderWithHttpInfoAsync(string order
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -362,7 +362,7 @@ public async Task>> GetInventoryWithHttpInfo
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -380,13 +380,13 @@ public async Task>> GetInventoryWithHttpInfo
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -403,7 +403,7 @@ public async Task GetOrderByIdAsync(long orderId, System.Threading.Cancel
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -426,7 +426,7 @@ public async Task GetOrderByIdOrDefaultAsync(long orderId, System.Threadi
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -477,7 +477,7 @@ public async Task> GetOrderByIdWithHttpInfoAsync(long orderId
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -492,7 +492,7 @@ public async Task> GetOrderByIdWithHttpInfoAsync(long orderId
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -604,7 +604,7 @@ public async Task> PlaceOrderWithHttpInfoAsync(Order order, S
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -619,7 +619,7 @@ public async Task> PlaceOrderWithHttpInfoAsync(Order order, S
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/UserApi.cs
index f117a118b3bf..4c1b0c684684 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/UserApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Api/UserApi.cs
@@ -379,7 +379,7 @@ public async Task> CreateUserWithHttpInfoAsync(User user, Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -394,7 +394,7 @@ public async Task> CreateUserWithHttpInfoAsync(User user, Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -496,7 +496,7 @@ public async Task> CreateUsersWithArrayInputWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -511,7 +511,7 @@ public async Task> CreateUsersWithArrayInputWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -613,7 +613,7 @@ public async Task> CreateUsersWithListInputWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -628,7 +628,7 @@ public async Task> CreateUsersWithListInputWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -718,7 +718,7 @@ public async Task> DeleteUserWithHttpInfoAsync(string userna
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -733,7 +733,7 @@ public async Task> DeleteUserWithHttpInfoAsync(string userna
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -833,7 +833,7 @@ public async Task> GetUserByNameWithHttpInfoAsync(string usern
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -848,7 +848,7 @@ public async Task> GetUserByNameWithHttpInfoAsync(string usern
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -938,7 +938,7 @@ public async Task> LoginUserWithHttpInfoAsync(string usernam
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -953,7 +953,7 @@ public async Task> LoginUserWithHttpInfoAsync(string usernam
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1032,7 +1032,7 @@ public async Task> LogoutUserWithHttpInfoAsync(System.Thread
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1047,7 +1047,7 @@ public async Task> LogoutUserWithHttpInfoAsync(System.Thread
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1156,7 +1156,7 @@ public async Task> UpdateUserWithHttpInfoAsync(string userna
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1171,7 +1171,7 @@ public async Task> UpdateUserWithHttpInfoAsync(string userna
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiException.cs
index 5728b5976d90..fdd11dd19c9a 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiException.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiException.cs
@@ -33,7 +33,7 @@ public class ApiException : Exception
public string RawContent { get; }
///
- /// Construct the ApiException from parts of the reponse
+ /// Construct the ApiException from parts of the response
///
///
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiResponse`1.cs
index 85b2801ccbfb..3bae0aaa6aba 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiResponse`1.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/ApiResponse`1.cs
@@ -85,7 +85,7 @@ public Type ResponseType
#endregion Properties
///
- /// Construct the reponse using an HttpResponseMessage
+ /// Construct the response using an HttpResponseMessage
///
///
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
index c06ba4c50a0e..2b5ac96e1cd1 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
@@ -194,7 +194,7 @@ internal Dictionary GetHttpSignedHeader(System.Net.Http.HttpRequ
foreach (var keyVal in httpSignatureHeader)
headerValuesList.Add(string.Format("{0}: {1}", keyVal.Key, keyVal.Value));
- //Concatinate headers value separated by new line
+ //Concatenate headers value separated by new line
var headerValuesString = string.Join("\n", headerValuesList);
var signatureStringHash = GetStringHash(HashAlgorithm.ToString(), headerValuesString);
string headerSignatureStr = null;
@@ -322,7 +322,7 @@ private string GetECDSASignature(byte[] dataToSign)
private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
{
var derBytes = new List();
- byte derLength = 68; //default lenght for ECDSA code signinged bit 0x44
+ byte derLength = 68; //default length for ECDSA code signing bit 0x44
byte rbytesLength = 32; //R length 0x20
byte sbytesLength = 32; //S length 0x20
var rBytes = new List();
@@ -357,7 +357,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
}
derBytes.Add(48); //start of the sequence 0x30
- derBytes.Add(derLength); //total length r lenth, type and r bytes
+ derBytes.Add(derLength); //total length r length, type and r bytes
derBytes.Add(2); //tag for integer
derBytes.Add(rbytesLength); //length of r
@@ -369,7 +369,7 @@ private byte[] ConvertToECDSAANS1Format(byte[] signedBytes)
return derBytes.ToArray();
}
- private RSACryptoServiceProvider GetRSAProviderFromPemFile(String pemfile, SecureString keyPassPharse = null)
+ private RSACryptoServiceProvider GetRSAProviderFromPemFile(String pemfile, SecureString keyPassPhrase = null)
{
const String pempubheader = "-----BEGIN PUBLIC KEY-----";
const String pempubfooter = "-----END PUBLIC KEY-----";
@@ -386,7 +386,7 @@ private RSACryptoServiceProvider GetRSAProviderFromPemFile(String pemfile, Secu
if (isPrivateKeyFile)
{
- pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPharse);
+ pemkey = ConvertPrivateKeyToBytes(pemstr, keyPassPhrase);
if (pemkey == null)
return null;
@@ -396,7 +396,7 @@ private RSACryptoServiceProvider GetRSAProviderFromPemFile(String pemfile, Secu
return null;
}
- private byte[] ConvertPrivateKeyToBytes(String instr, SecureString keyPassPharse = null)
+ private byte[] ConvertPrivateKeyToBytes(String instr, SecureString keyPassPhrase = null)
{
const String pemprivheader = "-----BEGIN RSA PRIVATE KEY-----";
const String pemprivfooter = "-----END RSA PRIVATE KEY-----";
@@ -444,12 +444,12 @@ private byte[] ConvertPrivateKeyToBytes(String instr, SecureString keyPassPharse
binkey = Convert.FromBase64String(encryptedstr);
}
catch (System.FormatException)
- { //data is not in base64 fromat
+ { //data is not in base64 format
return null;
}
- // TODO: what do we do here if keyPassPharse is null?
- byte[] deskey = GetEncryptedKey(salt, keyPassPharse, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
+ // TODO: what do we do here if keyPassPhrase is null?
+ byte[] deskey = GetEncryptedKey(salt, keyPassPhrase, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes
if (deskey == null)
return null;
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/README.md
index 5680ae8cbc44..a8ac54da0c44 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/README.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/README.md
@@ -216,7 +216,7 @@ Authentication schemes defined for the API:
- modelTests: true
- withXml:
-## [OpenApi Generator Parameteres](https://openapi-generator.tech/docs/generators/csharp-netcore)
+## [OpenApi Generator Parameters](https://openapi-generator.tech/docs/generators/csharp-netcore)
- allowUnicodeIdentifiers:
- apiName: Api
- caseInsensitiveResponseHeaders:
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md
index dd5e3225a65a..f17e38282a0c 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md
@@ -1121,7 +1121,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Someting wrong | - |
+| **400** | Something wrong | - |
[[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)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md
index 04c9407eb43b..aa0a568fc528 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md
@@ -194,7 +194,7 @@ This endpoint does not need any parameter.
Find purchase order by ID
-For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
### Example
```csharp
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/scripts/git_push.ps1 b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/scripts/git_push.ps1
index 0a2d4e52280a..73ed35c2bb10 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/scripts/git_push.ps1
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/scripts/git_push.ps1
@@ -49,7 +49,7 @@ Set-StrictMode -Version 3.0
if ($Help){
Write-Output "
This script will initialize a git repository, then add and commit all files.
- The local repository will then be pushed to your prefered git provider.
+ The local repository will then be pushed to your preferred git provider.
If the remote repository does not exist yet and you are using GitHub,
the repository will be created for you provided you have the GitHub CLI installed.
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
index 59670fb4cbc5..b2b9905d3a76 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
@@ -225,7 +225,7 @@ public async Task> Call123TestSpecialTagsWithHttpInfoAs
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -240,7 +240,7 @@ public async Task> Call123TestSpecialTagsWithHttpInfoAs
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/DefaultApi.cs
index ea2f1ced70b9..2f874775c606 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/DefaultApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/DefaultApi.cs
@@ -200,7 +200,7 @@ public async Task> FooGetWithHttpInfoAsync(Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -215,7 +215,7 @@ public async Task> FooGetWithHttpInfoAsync(Sy
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeApi.cs
index cad800bddfba..f9f02ecc2197 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -582,7 +582,7 @@ public async Task> FakeHealthGetWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -597,7 +597,7 @@ public async Task> FakeHealthGetWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -680,7 +680,7 @@ public async Task> FakeOuterBooleanSerializeWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -695,7 +695,7 @@ public async Task> FakeOuterBooleanSerializeWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -799,7 +799,7 @@ public async Task> FakeOuterCompositeSerializeWithHt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -814,7 +814,7 @@ public async Task> FakeOuterCompositeSerializeWithHt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -897,7 +897,7 @@ public async Task> FakeOuterNumberSerializeWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -912,7 +912,7 @@ public async Task> FakeOuterNumberSerializeWithHttpInfoAsyn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -995,7 +995,7 @@ public async Task> FakeOuterStringSerializeWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1010,7 +1010,7 @@ public async Task> FakeOuterStringSerializeWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1098,7 +1098,7 @@ public async Task>> GetArrayOfEnumsWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1113,7 +1113,7 @@ public async Task>> GetArrayOfEnumsWithHttpInfoAsync
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1215,7 +1215,7 @@ public async Task> TestBodyWithFileSchemaWithHttpInfoAsync(F
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1230,7 +1230,7 @@ public async Task> TestBodyWithFileSchemaWithHttpInfoAsync(F
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1344,7 +1344,7 @@ public async Task> TestBodyWithQueryParamsWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1359,7 +1359,7 @@ public async Task> TestBodyWithQueryParamsWithHttpInfoAsync(
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1470,7 +1470,7 @@ public async Task> TestClientModelWithHttpInfoAsync(Mod
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1485,7 +1485,7 @@ public async Task> TestClientModelWithHttpInfoAsync(Mod
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1679,7 +1679,7 @@ public async Task> TestEndpointParametersWithHttpInfoAsync(d
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1697,7 +1697,7 @@ public async Task> TestEndpointParametersWithHttpInfoAsync(d
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1844,7 +1844,7 @@ public async Task> TestEnumParametersWithHttpInfoAsync(List<
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1859,7 +1859,7 @@ public async Task> TestEnumParametersWithHttpInfoAsync(List<
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1986,7 +1986,7 @@ public async Task> TestGroupParametersWithHttpInfoAsync(int
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2004,7 +2004,7 @@ public async Task> TestGroupParametersWithHttpInfoAsync(int
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2106,7 +2106,7 @@ public async Task> TestInlineAdditionalPropertiesWithHttpInf
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2121,7 +2121,7 @@ public async Task> TestInlineAdditionalPropertiesWithHttpInf
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2237,7 +2237,7 @@ public async Task> TestJsonFormDataWithHttpInfoAsync(string
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2252,7 +2252,7 @@ public async Task> TestJsonFormDataWithHttpInfoAsync(string
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -2375,7 +2375,7 @@ public async Task> TestQueryParameterCollectionFormatWithHtt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -2390,7 +2390,7 @@ public async Task> TestQueryParameterCollectionFormatWithHtt
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
index 528e98484d8f..4b51987ecd31 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
@@ -237,7 +237,7 @@ public async Task> TestClassnameWithHttpInfoAsync(Model
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -255,7 +255,7 @@ public async Task> TestClassnameWithHttpInfoAsync(Model
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/PetApi.cs
index dda60de460d5..c8249afbb48e 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/PetApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/PetApi.cs
@@ -431,7 +431,7 @@ public async Task> AddPetWithHttpInfoAsync(Pet pet, System.T
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -452,7 +452,7 @@ public async Task> AddPetWithHttpInfoAsync(Pet pet, System.T
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -553,7 +553,7 @@ public async Task> DeletePetWithHttpInfoAsync(long petId, st
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -571,7 +571,7 @@ public async Task> DeletePetWithHttpInfoAsync(long petId, st
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -692,7 +692,7 @@ public async Task>> FindPetsByStatusWithHttpInfoAsync(List
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -713,7 +713,7 @@ public async Task>> FindPetsByStatusWithHttpInfoAsync(List
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -834,7 +834,7 @@ public async Task>> FindPetsByTagsWithHttpInfoAsync(List>> FindPetsByTagsWithHttpInfoAsync(List> GetPetByIdWithHttpInfoAsync(long petId, Syst
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -978,7 +978,7 @@ public async Task> GetPetByIdWithHttpInfoAsync(long petId, Syst
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1097,7 +1097,7 @@ public async Task> UpdatePetWithHttpInfoAsync(Pet pet, Syste
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1118,7 +1118,7 @@ public async Task> UpdatePetWithHttpInfoAsync(Pet pet, Syste
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1242,7 +1242,7 @@ public async Task> UpdatePetWithFormWithHttpInfoAsync(long p
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1260,7 +1260,7 @@ public async Task> UpdatePetWithFormWithHttpInfoAsync(long p
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1393,7 +1393,7 @@ public async Task> UploadFileWithHttpInfoAsync(long pet
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1411,7 +1411,7 @@ public async Task> UploadFileWithHttpInfoAsync(long pet
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -1547,7 +1547,7 @@ public async Task> UploadFileWithRequiredFileWithHttpIn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -1565,7 +1565,7 @@ public async Task> UploadFileWithRequiredFileWithHttpIn
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
} }
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/StoreApi.cs
index 0c0066afae72..a0be4ccdafb4 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Api/StoreApi.cs
@@ -74,7 +74,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -86,7 +86,7 @@ public interface IStoreApi : IApi
/// Find purchase order by ID
///
///
- /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -271,7 +271,7 @@ public async Task> DeleteOrderWithHttpInfoAsync(string order
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -286,7 +286,7 @@ public async Task> DeleteOrderWithHttpInfoAsync(string order
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
@@ -362,7 +362,7 @@ public async Task>> GetInventoryWithHttpInfo
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -380,13 +380,13 @@ public async Task>> GetInventoryWithHttpInfo
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while sending the request to the server.");
+ Logger.LogError(e, "An error occurred while sending the request to the server.");
throw;
}
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -403,7 +403,7 @@ public async Task GetOrderByIdAsync(long orderId, System.Threading.Cancel
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -426,7 +426,7 @@ public async Task GetOrderByIdOrDefaultAsync(long orderId, System.Threadi
}
///
- /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
+ /// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
///
/// Thrown when fails to make API call
/// ID of pet that needs to be fetched
@@ -477,7 +477,7 @@ public async Task> GetOrderByIdWithHttpInfoAsync(long orderId
}
catch(Exception e)
{
- Logger.LogError(e, "An error occured while invoking ApiResponded.");
+ Logger.LogError(e, "An error occurred while invoking ApiResponded.");
}
}
@@ -492,7 +492,7 @@ public async Task