Fix typos 'the the'. (#17897)

This commit is contained in:
Stefan
2024-02-20 05:00:55 +00:00
committed by GitHub
parent ad84355288
commit 95377cded4
9 changed files with 11 additions and 11 deletions

View File

@@ -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
*/

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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}:

View File

@@ -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}:

View File

@@ -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]

View File

@@ -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]