Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Koski opened this issue May 27, 2025 · 0 comments
Open

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

Koski opened this issue May 27, 2025 · 0 comments

Comments

@Koski
Copy link

Koski commented May 27, 2025

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant