From 853e9c641b66a9b2cfdacd0bb749d854d5087098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20P=C3=B6mp?= Date: Mon, 22 Jul 2024 23:59:58 +0200 Subject: [PATCH] fix(nestjs-redox): tag groups not working properly Thanks to @vllange for reporting this issue Ref #4 --- libs/nestjs-redox/src/lib/nestjs-redox.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;