-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Is your feature request related to a problem?
There is growing support in the OAS community for the idea of hierarchical tags (see OAI/OpenAPI-Specification#1367). The current consensus is that UIs like SwaggerUI can implement this with no change required in the OAS, and that this would be a much appreciated feature. I would like to implement it in SwaggerUI and would like help identifying the best way to do so.
Describe the solution you'd like
Tags such as Petstore|Mammals|Dogs
should render as
## Petstore
### Mammals
#### Dogs
....
EDIT: Permanent Solution
I've implemented and published a plugin for this. Instructions for use are here. It works well as an ES module include in a webpack scenario OR as a global module via unpkg. There is also a PR out for this (here), but it is long stale and I doubt that Swagger will ever take interest in it. (The PR has now been closed without merging.)