Skip to content

Custom plugin to dynamically change page content based on a dropdown #47

@Koski

Description

@Koski

Hi

I'm looking into something that is potentially not sensible or even feasible with the custom plugin framework. I have only just stumbled upon the framework so hence this question:

We are currently using redocly cli to build an OpenAPI html page. I would like to add a multi-select HTML element where one could select from a set of values. Let's call these values tags. Based on which tags are selected the page would filter which endpoints are shown. Additionally, schemas for one endpoint might be different based on these tags.

These tags would would be present as custom properties in schemas to denote which fields belong to which tags.

This description is potentially a bit vague but hopefully enough to determine if it's even feasible. Any suggestions are welcome !

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