diff --git a/templates/operationBody.mustache b/templates/operationBody.mustache index f0b91cb..40994ef 100644 --- a/templates/operationBody.mustache +++ b/templates/operationBody.mustache @@ -9,6 +9,6 @@ }}{{#operationParameters}}{{paramVar}}{{^paramIsLast}}, {{/paramIsLast }}{{/operationParameters}}{{/operationParamsClass }}).pipe( - __map(_r => _r.body as {{{operationResultType}}}) + __map((_r: __StrictHttpResponse<{{{operationResultType}}}>) => _r.body as {{{operationResultType}}}) ); }