diff --git a/src/configs/swagger.config.ts b/src/configs/swagger.config.ts index a226c7f..658039b 100755 --- a/src/configs/swagger.config.ts +++ b/src/configs/swagger.config.ts @@ -27,6 +27,9 @@ export function getSwaggerDocument(app: NestFastifyApplication) { displayRequestDuration: true, filter: true, showExtensions: true, + docExpansion: 'none', + defaultModelsExpandDepth: -1, + defaultModelExpandDepth: -1, }, }); }