Grouping tags
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023
09:52 PM
05-01-2023
09:52 PM
Grouping tags
If I have several endpoints using tags to organize, how do I organize those tags under different tags(nested tags). Say for example, If I have 4 different tags namely A, B, C, D, that have different endpoints under them. How do I tag A, B under one category and C, D under another category?
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023
10:01 AM
05-17-2023
10:01 AM
Nested tags are not current 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 tags. For example tags category1/tagA
, category1/tagB
, category1.tagA
or similar
