From 80828bce4dd5b8f2c31f0954baf4a449fdc0b7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Enrique=20Garc=C3=ADa=20Maci=C3=B1eiras?= Date: Thu, 1 Jun 2023 10:32:25 +0200 Subject: [PATCH] #160 Fix Test --- .../openapi/templateCallRestClient.ftlh | 14 ++--- .../openapi/templateCallWebClient.ftlh | 14 ++--- .../templates/openapi/templateReactive.ftlh | 14 ++--- .../assets/TestApi.java | 6 +- .../assets/TestApi.java | 6 +- .../assets/TestApi.java | 6 +- .../openapigenerator/testAllOf/api-test.yml | 2 +- .../testAllOf/assets/lombok/TestApi.java | 14 ++--- .../testAllOf/assets/testApi/TestApi.java | 14 ++--- .../testAnyOfInResponse/assets/GamesApi.java | 6 +- .../testApiClientGeneration/api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../testApiEnumsGeneration/api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../testApiEnumsLombokGeneration/api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../api-test.yml | 2 +- .../assets/TestApi.java | 8 +-- .../assets/TestSchemaApi.java | 2 +- .../api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../testApiReactiveGeneration/api-test.yml | 2 +- .../assets/jakarta/TestApi.java | 18 +++--- .../assets/javax/TestApi.java | 18 +++--- .../testApiTagsGeneration/api-tags-test.yml | 2 +- .../assets/TestTagFirstApi.java | 2 +- .../assets/TestTagSecondApi.java | 2 +- .../assets/TestApi.java | 6 +- .../api-test.yml | 2 +- .../testCoconutSchema/assets/SchemaApi.java | 34 +++++------ .../assets/SchemaMasterApi.java | 18 +++--- .../testCoconutSchema/assets/SchemasApi.java | 18 +++--- .../testComplexAnyOf/assets/SchemaApi.java | 34 +++++------ .../assets/SchemaMasterApi.java | 18 +++--- .../testComplexAnyOf/assets/SchemasApi.java | 18 +++--- .../testCreateDTO/assets/TestApi.java | 6 +- .../testDateTime/assets/TestApi.java | 6 +- .../testDateTimeOffset/assets/TestApi.java | 6 +- .../testDateTimeZoned/assets/TestApi.java | 6 +- .../assets/TestApi.java | 6 +- .../testListString/assets/TestApi.java | 6 +- .../testListString/assets/TestInlineApi.java | 6 +- .../assets/TestApi.java | 6 +- .../testOneOfInResponse/assets/GamesApi.java | 6 +- .../testOverWriteModelTrue/api-test.yml | 2 +- .../assets/TestApi.java | 14 ++--- .../testQueryParam/assets/TestApi.java | 8 +-- .../testReferenceFile/assets/TestApi.java | 6 +- .../testRestClientApiGeneration/api-test.yml | 2 +- .../assets/TestApi.java | 18 +++--- .../testRestClientApiGeneration/pom.xml | 56 ------------------- .../testValidationAnnotations/api-test.yml | 2 +- .../assets/lombok/jakarta/TestApi.java | 14 ++--- .../assets/lombok/javax/TestApi.java | 14 ++--- .../assets/testApi/jakarta/TestApi.java | 14 ++--- .../assets/testApi/javax/TestApi.java | 14 ++--- .../testWebClientApiGeneration/api-test.yml | 2 +- .../assets/TestApi.java | 36 ++++++------ 62 files changed, 298 insertions(+), 354 deletions(-) delete mode 100644 multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/pom.xml diff --git a/multiapi-engine/src/main/resources/templates/openapi/templateCallRestClient.ftlh b/multiapi-engine/src/main/resources/templates/openapi/templateCallRestClient.ftlh index 9cb108c0..a66feb72 100644 --- a/multiapi-engine/src/main/resources/templates/openapi/templateCallRestClient.ftlh +++ b/multiapi-engine/src/main/resources/templates/openapi/templateCallRestClient.ftlh @@ -90,21 +90,21 @@ public class ${className?cap_first}Api { <#list pathObjects as path> <#list path.operationObjects as operation> /** - * ${operation.operationType} ${path.pathName}<#if operation.summary?has_content>: ${operation.summary} + * ${operation.operationType} ${path.pathName}<#if operation.summary?has_content>: ${operation.summary} <#if operation.responseObjects?has_content> <#if operation.parameterObjects?has_content> - * <#list operation.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} + * <#list operation.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} <#if path.parameterObjects?has_content> - * <#list path.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} + * <#list path.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} <#if operation.requestObjects?has_content> - *<#list operation.requestObjects as request><#list request.contentObjects as content> @param ${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""} <#if request.required == true>(required) + *<#list operation.requestObjects as request><#list request.contentObjects as content> @param ${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""} <#if request.required == true>(required) - * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) + * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) - * @throws RestClientException if an error occurs while attempting to invoke the API - */ + * @throws RestClientException if an error occurs while attempting to invoke the API + */ public <@compress single_line=true><#if operation.responseObjects[0].contentObjects[0]??> ${operation.responseObjects[0].contentObjects[0].dataType} <#else>Void ${operation.operationId}<#compress>(<#if operation.parameterObjects?has_content><#list operation.parameterObjects as parameter>${parameter.dataType} ${parameter.name}<#if parameter?has_next || operation.requestObjects?has_content>, <#if path.parameterObjects?has_content><#list path.parameterObjects as parameter>${parameter.dataType} ${parameter.name}<#if parameter?has_next || operation.requestObjects?has_content>, <#if operation.requestObjects?has_content><#list operation.requestObjects as request><#list request.contentObjects as content>${content.dataType} ${content.dataType?api.getVariableNameString()} <#if content?has_next>, ) throws RestClientException { diff --git a/multiapi-engine/src/main/resources/templates/openapi/templateCallWebClient.ftlh b/multiapi-engine/src/main/resources/templates/openapi/templateCallWebClient.ftlh index 28af6205..a8bc9095 100644 --- a/multiapi-engine/src/main/resources/templates/openapi/templateCallWebClient.ftlh +++ b/multiapi-engine/src/main/resources/templates/openapi/templateCallWebClient.ftlh @@ -90,21 +90,21 @@ public class ${className?cap_first}Api { <#list pathObjects as path> <#list path.operationObjects as operation> /** - * ${operation.operationType} ${path.pathName} : <#if operation.summary?has_content>${operation.summary}<#else>"" + * ${operation.operationType} ${path.pathName}: <#if operation.summary?has_content>${operation.summary}<#else>"" <#if operation.responseObjects?has_content> <#if operation.parameterObjects?has_content> - * <#list operation.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} + * <#list operation.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} <#if path.parameterObjects?has_content> - * <#list path.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} + * <#list path.parameterObjects as parameter>@param ${parameter.name} ${parameter.description} ${parameter.required?c} <#if operation.requestObjects?has_content> - * <#list operation.requestObjects as request><#list request.contentObjects as content>@param ${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""}<#if request.required == true> (required) + * <#list operation.requestObjects as request><#list request.contentObjects as content>@param ${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""}<#if request.required == true> (required) - * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) + * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ private ResponseSpec ${operation.operationId}RequestCreation(<@compress single_line=true> <#if operation.parameterObjects?has_content><#list operation.parameterObjects as parameter> ${parameter.dataType} ${parameter.name}<#if parameter?has_next || operation.requestObjects?has_content>,<#if path.parameterObjects?has_content><#list path.parameterObjects as parameter> ${parameter.dataType} ${parameter.name}<#if parameter?has_next || operation.requestObjects?has_content>, <#if operation.requestObjects?has_content><#list operation.requestObjects as request><#list request.contentObjects as content>${content.dataType} ${content.dataType?api.getVariableNameString()}) throws WebClientResponseException { diff --git a/multiapi-engine/src/main/resources/templates/openapi/templateReactive.ftlh b/multiapi-engine/src/main/resources/templates/openapi/templateReactive.ftlh index 09c93ab6..c8b2c869 100644 --- a/multiapi-engine/src/main/resources/templates/openapi/templateReactive.ftlh +++ b/multiapi-engine/src/main/resources/templates/openapi/templateReactive.ftlh @@ -61,21 +61,21 @@ public interface ${className?cap_first}Api { <#list pathObjects as path> <#list path.operationObjects as operation> /** - * ${operation.operationType} ${path.pathName} <#if operation.summary?has_content>: ${operation.summary} + * ${operation.operationType} ${path.pathName}<#if operation.summary?has_content>: ${operation.summary} <#if operation.responseObjects?has_content> <#if operation.parameterObjects?has_content> - * @param <#list operation.parameterObjects as parameter> ${parameter.name} ${parameter.description} ${parameter.required?c} + * @param <#list operation.parameterObjects as parameter> ${parameter.name} ${parameter.description} ${parameter.required?c} <#if path.parameterObjects?has_content> - * @param <#list path.parameterObjects as parameter> ${parameter.name} ${parameter.description} ${parameter.required?c} + * @param <#list path.parameterObjects as parameter> ${parameter.name} ${parameter.description} ${parameter.required?c} <#if operation.requestObjects?has_content> - *<#list operation.requestObjects as request> @param <#list request.contentObjects as content>${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""}<#if request.required == true> (required) + *<#list operation.requestObjects as request> @param <#list request.contentObjects as content>${content.dataType?api.getVariableNameString()}<#if content?has_next>, ${request.description! ""}<#if request.required == true> (required) - * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) + * @return<#list operation.responseObjects as response><#if response.responseName != "default"> ${response.description}; (status code ${response.responseName}) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ @Operation( operationId = "${operation.operationId}",<#if operation.summary?has_content> summary = "${operation.summary}", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalProperties/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalProperties/assets/TestApi.java index dc5733e4..697af405 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalProperties/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalProperties/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test : testAdditionalProperties - * @return An object with additional properties; (status code 200) - */ + * GET /test: testAdditionalProperties + * @return An object with additional properties; (status code 200) + */ @Operation( operationId = "testAdditionalProperties", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithSchema/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithSchema/assets/TestApi.java index f1753f55..81126cd2 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithSchema/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithSchema/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test : testAdditionalProperties - * @return An object with additional properties; (status code 200) - */ + * GET /test: testAdditionalProperties + * @return An object with additional properties; (status code 200) + */ @Operation( operationId = "testAdditionalProperties", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithUnnamedObject/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithUnnamedObject/assets/TestApi.java index 06452adc..a1a8fdea 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithUnnamedObject/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAdditionalPropertiesWithUnnamedObject/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test : testAdditionalProperties - * @return An object with additional properties; (status code 200) - */ + * GET /test: testAdditionalProperties + * @return An object with additional properties; (status code 200) + */ @Operation( operationId = "testAdditionalProperties", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/api-test.yml index 6383c839..ccab2e82 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/lombok/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/lombok/TestApi.java index b0df0ac2..de6d3b7c 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/lombok/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/lombok/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/testApi/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/testApi/TestApi.java index 37edcac8..164cff25 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/testApi/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAllOf/assets/testApi/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testAnyOfInResponse/assets/GamesApi.java b/multiapi-engine/src/test/resources/openapigenerator/testAnyOfInResponse/assets/GamesApi.java index 0e113e15..401c7ebc 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testAnyOfInResponse/assets/GamesApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testAnyOfInResponse/assets/GamesApi.java @@ -21,9 +21,9 @@ public interface GamesApi { /** - * GET /games : List all available games - * @return A paged array of games; (status code 200) - */ + * GET /games: List all available games + * @return A paged array of games; (status code 200) + */ @Operation( operationId = "listGames", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/api-test.yml index 25545e17..61759456 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/assets/TestApi.java index e7411ee9..802e2fdc 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiClientGeneration/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/api-test.yml index 2ef129ff..ac885be9 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/assets/TestApi.java index a947552f..b4520e21 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsGeneration/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/api-test.yml index 10428b6b..d95c54bf 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/assets/TestApi.java index 2995d899..695e3c72 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiEnumsLombokGeneration/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/api-test.yml index 6a74b859..c8d99296 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/api-test.yml @@ -46,7 +46,7 @@ paths: properties: email: type: string - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/assets/TestApi.java index 2bb288da..0983b17a 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiParametersWithContentGeneration/assets/TestApi.java @@ -24,10 +24,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -48,9 +48,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/api-test.yml index c374e66c..b89268d9 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/api-test.yml @@ -42,7 +42,7 @@ paths: schema: type: integer format: int32 - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/assets/TestApi.java index c7928e32..f2606447 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiPathParameterGeneration/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", des return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/api-test.yml index 105fd2c2..6b632fab 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/api-test.yml @@ -42,7 +42,7 @@ paths: schema: type: integer format: int32 - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestApi.java index 5ce403f7..b9af0586 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestApi.java @@ -22,10 +22,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestSchemaApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestSchemaApi.java index 160fcb86..d7eb0f81 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestSchemaApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiPathWithSpecialCharGeneration/assets/TestSchemaApi.java @@ -22,7 +22,7 @@ public interface TestSchemaApi { /** - * GET /test_schema : List all available test + * GET /test_schema: List all available test * @return A paged array of tests; (status code 200) */ diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/api-test.yml index c374e66c..b89268d9 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/api-test.yml @@ -42,7 +42,7 @@ paths: schema: type: integer format: int32 - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/assets/TestApi.java index c7928e32..f2606447 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiQueryParameterGeneration/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", des return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/api-test.yml index 1ed79866..a09f724a 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/jakarta/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/jakarta/TestApi.java index 59959cf0..7bdac5c6 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/jakarta/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/jakarta/TestApi.java @@ -28,11 +28,11 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ @Operation( operationId = "showTestById", summary = "Info for a specific test", @@ -52,10 +52,10 @@ default ResponseEntity> showTestById(@Parameter(name = "tes } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ @Operation( operationId = "listTest", summary = "List all available test", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/javax/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/javax/TestApi.java index f85dc39b..d221bb61 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/javax/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiReactiveGeneration/assets/javax/TestApi.java @@ -28,11 +28,11 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ @Operation( operationId = "showTestById", summary = "Info for a specific test", @@ -52,10 +52,10 @@ default ResponseEntity> showTestById(@Parameter(name = "tes } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ @Operation( operationId = "listTest", summary = "List all available test", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/api-tags-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/api-tags-test.yml index c2caff5c..61583da4 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/api-tags-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/api-tags-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagFirstApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagFirstApi.java index fd7a0e14..07e1e549 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagFirstApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagFirstApi.java @@ -22,7 +22,7 @@ public interface TestTagFirstApi { /** - * GET /test : List all available testServer + * GET /test: List all available testServer * @return A paged array of tests; (status code 200) */ diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagSecondApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagSecondApi.java index 4a474058..9cec25f9 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagSecondApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiTagsGeneration/assets/TestTagSecondApi.java @@ -22,7 +22,7 @@ public interface TestTagSecondApi { /** - * GET /test/{testId} : Info for a specific test + * GET /test/{testId}: Info for a specific test * @param testId The id of the test to retrieve true * @return Expected response to a valid request; (status code 200) */ diff --git a/multiapi-engine/src/test/resources/openapigenerator/testApiWithNoComponents/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testApiWithNoComponents/assets/TestApi.java index d5b97049..9c8a85af 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testApiWithNoComponents/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testApiWithNoComponents/assets/TestApi.java @@ -20,9 +20,9 @@ public interface TestApi { /** - * GET /test - * @return A string; (status code 200) - */ + * GET /test + * @return A string; (status code 200) + */ @Operation( operationId = "testNoComponents", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testClientPackageWebClientApiGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testClientPackageWebClientApiGeneration/api-test.yml index 5e7e4d85..07bd078c 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testClientPackageWebClientApiGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testClientPackageWebClientApiGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaApi.java b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaApi.java index 6dec2c83..b1463845 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaApi.java @@ -21,10 +21,10 @@ public interface SchemaApi { /** - * GET /schema/{name} - * @param name Schema name to get true - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schema/{name} + * @param name Schema name to get true + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getSchema", @@ -46,11 +46,11 @@ default ResponseEntity getSchema(@Parameter(name = "name", descriptio return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * PUT /schema/{name} - * @param name Schema name to update true - * @param schemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * PUT /schema/{name} + * @param name Schema name to update true + * @param schemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "updateSchema", @@ -72,10 +72,10 @@ default ResponseEntity updateSchema(@Parameter(name = "name", descrip return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * POST /schema - * @param schemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * POST /schema + * @param schemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "createSchema", @@ -96,10 +96,10 @@ default ResponseEntity createSchema(@Parameter(name = "schemaDTO", de return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * DELETE /schema/{id} - * @param id Subject name to delete true - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * DELETE /schema/{id} + * @param id Subject name to delete true + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "deleteSchema", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaMasterApi.java b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaMasterApi.java index 699a256c..8ec40a57 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaMasterApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemaMasterApi.java @@ -21,10 +21,10 @@ public interface SchemaMasterApi { /** - * GET /schema_master/{subject} - * @param subject Schema Subject to retrieve true - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * GET /schema_master/{subject} + * @param subject Schema Subject to retrieve true + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "getSchemaMaster", @@ -45,11 +45,11 @@ default ResponseEntity getSchemaMaster(@Parameter(name = "subject", d return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * POST /schema_master/{schemaType} - * @param schemaType Schema Type to create true - * @param schemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * POST /schema_master/{schemaType} + * @param schemaType Schema Type to create true + * @param schemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "createSchemaMaster", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemasApi.java b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemasApi.java index f2e22ac6..8a70b297 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemasApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testCoconutSchema/assets/SchemasApi.java @@ -21,9 +21,9 @@ public interface SchemasApi { /** - * GET /schemas/names - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schemas/names + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getAllSchemaNames", @@ -45,9 +45,9 @@ default ResponseEntity> getAllSchemaNames() { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /schemas - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schemas + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getSchemas", @@ -69,9 +69,9 @@ default ResponseEntity> getSchemas() { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * DELETE /schemas - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * DELETE /schemas + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "deleteSchemas", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaApi.java b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaApi.java index 367fbf7b..6be20908 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaApi.java @@ -21,10 +21,10 @@ public interface SchemaApi { /** - * GET /schema/{name} - * @param name Schema name to get true - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schema/{name} + * @param name Schema name to get true + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getSchema", @@ -46,11 +46,11 @@ default ResponseEntity getSchema(@Parameter(name = "name", descrip return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * PUT /schema/{name} - * @param name Schema name to update true - * @param apiSchemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * PUT /schema/{name} + * @param name Schema name to update true + * @param apiSchemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "updateSchema", @@ -72,10 +72,10 @@ default ResponseEntity updateSchema(@Parameter(name = "name", desc return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * POST /schema - * @param apiSchemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * POST /schema + * @param apiSchemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "createSchema", @@ -96,10 +96,10 @@ default ResponseEntity createSchema(@Parameter(name = "apiSchemaDT return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * DELETE /schema/{id} - * @param id Subject name to delete true - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * DELETE /schema/{id} + * @param id Subject name to delete true + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "deleteSchema", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaMasterApi.java b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaMasterApi.java index c09d1739..e83c3773 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaMasterApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemaMasterApi.java @@ -21,10 +21,10 @@ public interface SchemaMasterApi { /** - * GET /schema_master/{subject} - * @param subject Schema Subject to retrieve true - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * GET /schema_master/{subject} + * @param subject Schema Subject to retrieve true + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "getSchemaMaster", @@ -45,11 +45,11 @@ default ResponseEntity getSchemaMaster(@Parameter(name = "subject" return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * POST /schema_master/{schemaType} - * @param schemaType Schema Type to create true - * @param apiSchemaDTO (required) - * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) - */ + * POST /schema_master/{schemaType} + * @param schemaType Schema Type to create true + * @param apiSchemaDTO (required) + * @return OK; (status code 200) Bad Request; (status code 400) Server Error; (status code 500) + */ @Operation( operationId = "createSchemaMaster", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemasApi.java b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemasApi.java index ec4abac0..32d6cad2 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemasApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testComplexAnyOf/assets/SchemasApi.java @@ -21,9 +21,9 @@ public interface SchemasApi { /** - * GET /schemas/names - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schemas/names + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getAllSchemaNames", @@ -45,9 +45,9 @@ default ResponseEntity> getAllSchemaNames() { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /schemas - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * GET /schemas + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "getSchemas", @@ -69,9 +69,9 @@ default ResponseEntity> getSchemas() { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * DELETE /schemas - * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) - */ + * DELETE /schemas + * @return OK; (status code 200) Bad Request; (status code 400) Not Found; (status code 404) Server Error; (status code 500) + */ @Operation( operationId = "deleteSchemas", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testCreateDTO/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testCreateDTO/assets/TestApi.java index e9759416..50c6f18d 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testCreateDTO/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testCreateDTO/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test : testCreateDTO - * @return An object with additional properties; (status code 200) - */ + * GET /test: testCreateDTO + * @return An object with additional properties; (status code 200) + */ @Operation( operationId = "testCreateDTO", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testDateTime/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testDateTime/assets/TestApi.java index 53f6f3e2..f2947d50 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testDateTime/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testDateTime/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test - * @return An object with date and date-time formats; (status code 200) - */ + * GET /test + * @return An object with date and date-time formats; (status code 200) + */ @Operation( operationId = "testDateTime", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testDateTimeOffset/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testDateTimeOffset/assets/TestApi.java index 53a6d10a..0f6be5a4 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testDateTimeOffset/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testDateTimeOffset/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test - * @return An object with date and date-time formats; (status code 200) - */ + * GET /test + * @return An object with date and date-time formats; (status code 200) + */ @Operation( operationId = "testDateTime", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testDateTimeZoned/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testDateTimeZoned/assets/TestApi.java index a5b31dee..a036423d 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testDateTimeZoned/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testDateTimeZoned/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test - * @return An object with date and date-time formats; (status code 200) - */ + * GET /test + * @return An object with date and date-time formats; (status code 200) + */ @Operation( operationId = "testDateTime", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testExternalRefsGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testExternalRefsGeneration/assets/TestApi.java index b58cfbaa..524e815c 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testExternalRefsGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testExternalRefsGeneration/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestApi.java index fd2398c7..6bae924b 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestApi.java @@ -20,9 +20,9 @@ public interface TestApi { /** - * GET /test - * @return An object with a list of strings; (status code 200) - */ + * GET /test + * @return An object with a list of strings; (status code 200) + */ @Operation( operationId = "testListString", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestInlineApi.java b/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestInlineApi.java index d6a9aa86..92d9773d 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestInlineApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testListString/assets/TestInlineApi.java @@ -20,9 +20,9 @@ public interface TestInlineApi { /** - * GET /test-inline - * @return A list of strings; (status code 200) - */ + * GET /test-inline + * @return A list of strings; (status code 200) + */ @Operation( operationId = "testListStringInline", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testMultipleRefGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testMultipleRefGeneration/assets/TestApi.java index fcd24d02..616b3ded 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testMultipleRefGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testMultipleRefGeneration/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * POST /test : Start a Game - * @return Test File for SCC MultiApi Plugin.; (status code 200) - */ + * POST /test: Start a Game + * @return Test File for SCC MultiApi Plugin.; (status code 200) + */ @Operation( operationId = "createGame", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testOneOfInResponse/assets/GamesApi.java b/multiapi-engine/src/test/resources/openapigenerator/testOneOfInResponse/assets/GamesApi.java index cb0f267f..549b04fc 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testOneOfInResponse/assets/GamesApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testOneOfInResponse/assets/GamesApi.java @@ -21,9 +21,9 @@ public interface GamesApi { /** - * GET /games : List all available games - * @return A paged array of games; (status code 200) - */ + * GET /games: List all available games + * @return A paged array of games; (status code 200) + */ @Operation( operationId = "listGames", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/api-test.yml index 752d8990..6e623a23 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/assets/TestApi.java index b6333ab5..c745fbfc 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testOverWriteModelTrue/assets/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testQueryParam/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testQueryParam/assets/TestApi.java index a0f5b638..cd2b24a0 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testQueryParam/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testQueryParam/assets/TestApi.java @@ -20,10 +20,10 @@ public interface TestApi { /** - * GET /test - * @param param1 First test parameter false @param param2 Second test parameter true - * @return An object with a list of strings; (status code 200) - */ + * GET /test + * @param param1 First test parameter false @param param2 Second test parameter true + * @return An object with a list of strings; (status code 200) + */ @Operation( operationId = "testReactiveQueryParam", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testReferenceFile/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testReferenceFile/assets/TestApi.java index 26827d5e..9c1b7814 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testReferenceFile/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testReferenceFile/assets/TestApi.java @@ -21,9 +21,9 @@ public interface TestApi { /** - * GET /test - * @return Some schema from another file; (status code 200) - */ + * GET /test + * @return Some schema from another file; (status code 200) + */ @Operation( operationId = "testFile", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/api-test.yml index ec830676..ee194201 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/assets/TestApi.java index 648ddaaa..3392aeb1 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/assets/TestApi.java @@ -43,11 +43,11 @@ protected void init() { } /** - * GET /test/{testId}: Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - * @throws RestClientException if an error occurs while attempting to invoke the API - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + * @throws RestClientException if an error occurs while attempting to invoke the API + */ public ApiTestInfoDTO showTestById(Integer testId) throws RestClientException { return showTestByIdWithHttpInfo(testId).getBody(); } @@ -75,10 +75,10 @@ public ResponseEntity showTestByIdWithHttpInfo(Integer testId) t } /** - * GET /test: List all available test - * @return A paged array of tests; (status code 200) - * @throws RestClientException if an error occurs while attempting to invoke the API - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + * @throws RestClientException if an error occurs while attempting to invoke the API + */ public ApiTestDTO listTest() throws RestClientException { return listTestWithHttpInfo().getBody(); } diff --git a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/pom.xml b/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/pom.xml deleted file mode 100644 index 5fb8ed86..00000000 --- a/multiapi-engine/src/test/resources/openapigenerator/testRestClientApiGeneration/pom.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - 4.0.0 - - com.sngular - scs-multiapi-maven-plugin - 1 - - scs-multiapi-maven-plugin - http://www.example.com - - - UTF-8 - 11 - 11 - - - - - org.apache.commons - commons-lang3 - 3.12.0 - - - - - - - com.sngular - scs-multiapi-maven-plugin - - - generate-sources - - openapi-generation - - - - - - - api-test.yml - com.sngular.multifileplugin.testrestclient - com.sngular.multifileplugin.testrestclient.model - true - Api - DTO - - - - - - - diff --git a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/api-test.yml index 42d3a7db..77faec08 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/jakarta/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/jakarta/TestApi.java index 43f03505..f52d076b 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/jakarta/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/jakarta/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/javax/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/javax/TestApi.java index b0df0ac2..de6d3b7c 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/javax/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/lombok/javax/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/jakarta/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/jakarta/TestApi.java index 7dac29c9..3c7af7be 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/jakarta/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/jakarta/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/javax/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/javax/TestApi.java index 37edcac8..164cff25 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/javax/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testValidationAnnotations/assets/testApi/javax/TestApi.java @@ -23,10 +23,10 @@ public interface TestApi { /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + */ @Operation( operationId = "showTestById", @@ -47,9 +47,9 @@ default ResponseEntity showTestById(@Parameter(name = "testId", return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + */ @Operation( operationId = "listTest", diff --git a/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/api-test.yml b/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/api-test.yml index 5e7e4d85..07bd078c 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/api-test.yml +++ b/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/api-test.yml @@ -34,7 +34,7 @@ paths: schema: $ref: "#/components/schemas/Error" /test/{testId}: - summary: other available test + summary: other available test get: summary: Info for a specific test operationId: showTestById diff --git a/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/assets/TestApi.java b/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/assets/TestApi.java index 1a095991..602278be 100644 --- a/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/assets/TestApi.java +++ b/multiapi-engine/src/test/resources/openapigenerator/testWebClientApiGeneration/assets/TestApi.java @@ -43,11 +43,11 @@ protected void init() { } /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ private ResponseSpec showTestByIdRequestCreation(Integer testId) throws WebClientResponseException { Object postBody = null; final Map pathParams = new HashMap(); @@ -70,11 +70,11 @@ private ResponseSpec showTestByIdRequestCreation(Integer testId) throws WebClien } /** - * GET /test/{testId} : Info for a specific test - * @param testId The id of the test to retrieve true - * @return Expected response to a valid request; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test/{testId}: Info for a specific test + * @param testId The id of the test to retrieve true + * @return Expected response to a valid request; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ public Mono showTestById(Integer testId) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showTestByIdRequestCreation(testId).bodyToMono(localVarReturnType); @@ -86,10 +86,10 @@ public Mono> showTestByIdWithHttpInfo(Integer tes } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ private ResponseSpec listTestRequestCreation() throws WebClientResponseException { Object postBody = null; final Map pathParams = new HashMap(); @@ -111,10 +111,10 @@ private ResponseSpec listTestRequestCreation() throws WebClientResponseException } /** - * GET /test : List all available test - * @return A paged array of tests; (status code 200) - * @throws WebClientResponseException if an error occurs while attempting to invoke the API - */ + * GET /test: List all available test + * @return A paged array of tests; (status code 200) + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ public Mono listTest() throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return listTestRequestCreation().bodyToMono(localVarReturnType);