File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ import { AppModule } from './app.module';
8
8
import { PaymentProvidersModule } from './api/payment-providers/payment-providers.module' ;
9
9
import { WebhooksModule } from './api/webhooks/webhooks.module' ;
10
10
import { ENV_CONFIG } from './config' ;
11
+ import { AdminModule } from './api/admin/admin.module' ;
12
+ import { UserModule } from './api/user/user.module' ;
13
+ import { WalletModule } from './api/wallet/wallet.module' ;
14
+ import { WinningsModule } from './api/winnings/winnings.module' ;
11
15
12
16
async function bootstrap ( ) {
13
17
const app = await NestFactory . create < NestExpressApplication > ( AppModule , {
@@ -52,7 +56,15 @@ async function bootstrap() {
52
56
} )
53
57
. build ( ) ;
54
58
const document = SwaggerModule . createDocument ( app , config , {
55
- include : [ ApiModule , PaymentProvidersModule , WebhooksModule ] ,
59
+ include : [
60
+ ApiModule ,
61
+ AdminModule ,
62
+ UserModule ,
63
+ WinningsModule ,
64
+ WalletModule ,
65
+ PaymentProvidersModule ,
66
+ WebhooksModule ,
67
+ ] ,
56
68
} ) ;
57
69
SwaggerModule . setup ( '/v5/finance/api-docs' , app , document ) ;
58
70
You can’t perform that action at this time.
0 commit comments