From 3ca3827edc17ec67c36146d35b83a14d42352f49 Mon Sep 17 00:00:00 2001 From: Thomas Trapanese Date: Tue, 26 Sep 2023 08:52:22 +0200 Subject: [PATCH 1/2] fix(nestjs) fix import in api module template (16670) --- .../src/main/resources/typescript-nestjs/api.module.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-nestjs/api.module.mustache b/modules/openapi-generator/src/main/resources/typescript-nestjs/api.module.mustache index fe1fbe707ea9..1b4b5804ed48 100644 --- a/modules/openapi-generator/src/main/resources/typescript-nestjs/api.module.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-nestjs/api.module.mustache @@ -1,5 +1,5 @@ {{#useAxiosHttpModule}} -import { DynamicModule, Module, Global } from '@nestjs/common'; +import { DynamicModule, Module, Global, Provider } from '@nestjs/common'; import { HttpModule, HttpService } from '@nestjs/axios'; {{/useAxiosHttpModule}} {{^useAxiosHttpModule}} From 3a64ca2bc690c4f1888269d5b05faa0ad8f7e6d4 Mon Sep 17 00:00:00 2001 From: Thomas Trapanese Date: Fri, 13 Oct 2023 17:03:31 +0200 Subject: [PATCH 2/2] fix(nestjs) fix import in api module template (16670) --- .../builds/default/api.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/api.module.ts b/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/api.module.ts index db4bae9b9f86..e70c901e9d09 100644 --- a/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/api.module.ts +++ b/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/api.module.ts @@ -1,4 +1,4 @@ -import { DynamicModule, Module, Global } from '@nestjs/common'; +import { DynamicModule, Module, Global, Provider } from '@nestjs/common'; import { HttpModule, HttpService } from '@nestjs/axios'; import { AsyncConfiguration, Configuration, ConfigurationFactory } from './configuration';