mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
Fix typos 'the the'. (#17897)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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}:
|
||||
|
||||
@@ -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}:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user