diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index cabc8915b3..7a09d5b716 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -8437,7 +8437,7 @@ public class DefaultCodegen implements CodegenConfig { /** * This method removes all constant Query, Header and Cookie Params from allParams and sets them as constantParams in the CodegenOperation. * The definition of constant is single valued required enum params. - * The constantParams in the the generated code should be hardcoded to the constantValue if autosetConstants feature is enabled. + * The constantParams in the generated code should be hardcoded to the constantValue if autosetConstants feature is enabled. * * @param operation - operation to be processed */ diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/OperationWrapper.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/OperationWrapper.java index 5e4cbce630..d23ab1f691 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/OperationWrapper.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/OperationWrapper.java @@ -47,7 +47,7 @@ public class OperationWrapper { /** * Returns the OpenAPI specification. * - * @return The the OpenAPI specification. + * @return The OpenAPI specification. */ public OpenAPI getOpenAPI() { return specification; diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/ParameterWrapper.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/ParameterWrapper.java index 7d74d5aae9..d47738e34d 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/ParameterWrapper.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/ParameterWrapper.java @@ -33,7 +33,7 @@ public class ParameterWrapper { /** * Returns the OpenAPI specification. * - * @return The the OpenAPI specification. + * @return The OpenAPI specification. */ public OpenAPI getOpenAPI() { return specification; diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SchemaWrapper.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SchemaWrapper.java index 5b500035b0..1e7e9c0e0f 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SchemaWrapper.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SchemaWrapper.java @@ -33,7 +33,7 @@ public class SchemaWrapper { /** * Returns the OpenAPI specification. * - * @return The the OpenAPI specification. + * @return The OpenAPI specification. */ public OpenAPI getOpenAPI() { return specification; diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SecuritySchemeWrapper.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SecuritySchemeWrapper.java index c089eeba94..66b65b6bfa 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SecuritySchemeWrapper.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/validations/oas/SecuritySchemeWrapper.java @@ -33,7 +33,7 @@ public class SecuritySchemeWrapper { /** * Returns the OpenAPI specification. * - * @return The the OpenAPI specification. + * @return The OpenAPI specification. */ public OpenAPI getOpenAPI() { return specification; diff --git a/modules/openapi-generator/src/test/resources/3_0/echo_api.yaml b/modules/openapi-generator/src/test/resources/3_0/echo_api.yaml index 206ec88428..1a386d676d 100644 --- a/modules/openapi-generator/src/test/resources/3_0/echo_api.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/echo_api.yaml @@ -27,8 +27,8 @@ servers: - url: http://localhost:3000/ paths: # Path usually starts with parameter type such as path, query, header, form - # For body/form parameters, path starts with "/echo" so the the echo server - # will response with the same body in the HTTP request. + # For body/form parameters, path starts with "/echo" so the echo server + # will respond with the same body in the HTTP request. # # path parameter tests /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}: diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml index a549fa70a3..940803b93b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml @@ -27,8 +27,8 @@ servers: - url: http://localhost:3000/ paths: # Path usually starts with parameter type such as path, query, header, form - # For body/form parameters, path starts with "/echo" so the the echo server - # will response with the same body in the HTTP request. + # For body/form parameters, path starts with "/echo" so the echo server + # will respond with the same body in the HTTP request. # # path parameter tests /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}: diff --git a/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/ManualTests.Latest.UseSourceGeneration/UnitTest1.cs b/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/ManualTests.Latest.UseSourceGeneration/UnitTest1.cs index 99a5b49e3c..eece8a4824 100644 --- a/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/ManualTests.Latest.UseSourceGeneration/UnitTest1.cs +++ b/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/ManualTests.Latest.UseSourceGeneration/UnitTest1.cs @@ -112,7 +112,7 @@ public class UnitTest1 gmFruit2.Apple.Origin.Equals(gmFruit.Apple.Origin) && gmFruit2.Banana.LengthCm.Equals(gmFruit.Banana.LengthCm)); - // TODO: assert the the properties from Banana and GmFruit are in additionalProperties + // TODO: assert the properties from Banana and GmFruit are in additionalProperties } [TestMethod] diff --git a/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/OpenAPIClient-generichost-manual-tests/UnitTest1.cs b/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/OpenAPIClient-generichost-manual-tests/UnitTest1.cs index 430e380c10..20513bc2f8 100644 --- a/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/OpenAPIClient-generichost-manual-tests/UnitTest1.cs +++ b/samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/OpenAPIClient-generichost-manual-tests/UnitTest1.cs @@ -98,7 +98,7 @@ namespace OpenAPIClient_generichost_manual_tests gmFruit2.Apple.Origin.Equals(gmFruit.Apple.Origin) && gmFruit2.Banana.LengthCm.Equals(gmFruit.Banana.LengthCm)); - // TODO: assert the the properties from Banana and GmFruit are in additionalProperties + // TODO: assert the properties from Banana and GmFruit are in additionalProperties } [TestMethod]