From 8f9cdd41d201001f854445cac6087e28e3893cb1 Mon Sep 17 00:00:00 2001 From: Esteban Gehring Date: Thu, 23 May 2024 15:59:45 +0200 Subject: [PATCH] tiny simplification of typescript-nestjs api.service.mustache --- .../src/main/resources/typescript-nestjs/api.service.mustache | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache b/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache index 09a3a2f4f5db..a3d501dd80da 100644 --- a/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache @@ -85,14 +85,13 @@ export class {{classname}} { {{#allParams.0}} * @param {{=<% %>=}}{<%& classname %><%& operationIdCamelCase %>Request}<%={{ }}=%> requestParameters Request parameters. {{/allParams.0}} - */ {{/useSingleRequestParameter}} {{^useSingleRequestParameter}} {{#allParams}}* @param {{paramName}} {{description}} {{/allParams}}* @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. + {{/useSingleRequestParameter}} */ - {{/useSingleRequestParameter}} {{#useSingleRequestParameter}} public {{nickname}}({{#allParams.0}}requestParameters: {{classname}}{{operationIdCamelCase}}Request, {{/allParams.0}}): Observable>; public {{nickname}}({{#allParams.0}}requestParameters: {{classname}}{{operationIdCamelCase}}Request, {{/allParams.0}}): Observable {