Skip to content

Commit

Permalink
fix(nestjs-redox): tag groups not working properly
Browse files Browse the repository at this point in the history
Thanks to @vllange for reporting this issue

Ref #4
  • Loading branch information
julianpoemp committed Jul 22, 2024
1 parent 5f14cde commit 853e9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/nestjs-redox/src/lib/nestjs-redox.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 853e9c6

Please sign in to comment.