forked from loafle/openapi-generator-original
Minor fix for typescript-nestjs (#8654)
This commit is contained in:
parent
6fdd8ea3da
commit
df1df5c5df
@ -12,12 +12,12 @@ import { {{classname}} } from './{{importPath}}';
|
||||
@Module({
|
||||
imports: [ HttpModule ],
|
||||
exports: [
|
||||
{{#apiInfo}}{{#apis}}{{classname}}{{#hasMore}},
|
||||
{{/hasMore}}{{/apis}}{{/apiInfo}}
|
||||
{{#apiInfo}}{{#apis}}{{classname}}{{^-last}},
|
||||
{{/-last}}{{/apis}}{{/apiInfo}}
|
||||
],
|
||||
providers: [
|
||||
{{#apiInfo}}{{#apis}}{{classname}}{{#hasMore}},
|
||||
{{/hasMore}}{{/apis}}{{/apiInfo}}
|
||||
{{#apiInfo}}{{#apis}}{{classname}}{{^-last}},
|
||||
{{/-last}}{{/apis}}{{/apiInfo}}
|
||||
]
|
||||
})
|
||||
export class ApiModule {
|
||||
|
@ -10,10 +10,14 @@ import { UserService } from './api/user.service';
|
||||
@Module({
|
||||
imports: [ HttpModule ],
|
||||
exports: [
|
||||
PetServiceStoreServiceUserService
|
||||
PetService,
|
||||
StoreService,
|
||||
UserService
|
||||
],
|
||||
providers: [
|
||||
PetServiceStoreServiceUserService
|
||||
PetService,
|
||||
StoreService,
|
||||
UserService
|
||||
]
|
||||
})
|
||||
export class ApiModule {
|
||||
|
Loading…
x
Reference in New Issue
Block a user