Skip to content

Support Hierarchical Tags #1489

@kael-shipman

Description

@kael-shipman

There's growing momentum for a string-based, backward-compatible way of hierarchicalizing tags in OAS documents; see OAI/OpenAPI-Specification#1367 and swagger-api/swagger-ui#5969 for discussion and support for the idea.

I'd love to see an implementation of this in redoc. I propose something like the screenshot below:

redoc-target

Note that we can use the well-established "nested collapsible list" pattern for arbitrary depth under the first item in the hierarchy. It would be great if there were additionally a "collapse/expand all" link for each level.

For reference, the current version of redoc renders this screen like so:

Screenshot_2020-12-28_16-05-49

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions