diff --git a/libs/nestjs-redox/src/lib/nestjs-redox.module.ts b/libs/nestjs-redox/src/lib/nestjs-redox.module.ts index 1f0c397..aa8d2da 100644 --- a/libs/nestjs-redox/src/lib/nestjs-redox.module.ts +++ b/libs/nestjs-redox/src/lib/nestjs-redox.module.ts @@ -312,8 +312,8 @@ export class NestjsRedoxModule { } if (redocOptions?.tagGroups) { - swaggerSpec.info['x-tagGroups'] = - swaggerSpec.info['x-tagGroups'] ?? redocOptions.tagGroups; + swaggerSpec['x-tagGroups'] = + swaggerSpec['x-tagGroups'] ?? redocOptions.tagGroups; } return swaggerSpec;