From 7347daec61b2cb8d3d28e1ed06fe8b5e682090f8 Mon Sep 17 00:00:00 2001 From: Thomas Trapanese Date: Fri, 20 Oct 2023 18:31:30 +0200 Subject: [PATCH] fix(nestjs) fix import in api module template (16670) (#16671) * fix(nestjs) fix import in api module template (16670) * fix(nestjs) fix import in api module template (16670) --------- Co-authored-by: Thomas Trapanese --- .../src/main/resources/typescript-nestjs/api.module.mustache | 2 +- .../builds/default/api.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 fe1fbe707ea..1b4b5804ed4 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}} 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 db4bae9b9f8..e70c901e9d0 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';