Forum Discussion
frankkilcommins
Admin
2 years agoNested tags are not currently supported by SwaggerUI and/or by the OpenAPI spec.
There are open issue/feature requests however:
- OpenAPI: https://github.com/OAI/OpenAPI-Specification/issues/1367
- SwaggerUI: https://github.com/swagger-api/swagger-ui/issues/5969
In the interim, you could perhaps employ a different category and tagging strategy within the constraints to emulate nested/grouped tags.
For example, tags `category1/tagA`, `category1/tagB`, `category1.tagA` or similar.
Hope this helps.