Skip to content
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

Multiple APIs? #108

Closed
Anthony-Gaudino opened this issue Dec 12, 2021 · 1 comment
Closed

Multiple APIs? #108

Anthony-Gaudino opened this issue Dec 12, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Anthony-Gaudino
Copy link

Is it possible to have multiple APIs like https://github.com/cloud-annotations/docusaurus-plugin-openapi#multiple-openapi-definitions allows?

What we would like to have is menu entries in Docusaurus, each pointing to the documentation of an API (Redoc).
Is this possible with Redocusaurus? Like defining multiple plugin entries?

Also we need to specify the URL of each API, for example, https://localhost:8080, https://localhost:8081 ...
We would use it for documentation and hopefully with https://github.com/wll8/redoc-try to allow developers to try each API.

@rohit-gohri rohit-gohri added enhancement New feature or request duplicate This issue or pull request already exists and removed enhancement New feature or request labels Jan 21, 2022
@rohit-gohri
Copy link
Owner

Is it possible to have multiple APIs

Yes, you can pass an array of options to redocusaurus to render them all on different pages. Though this doesn't work with sidebar you need to use menu bars or dropdowns to navigate b/w them (see #91)

Also we need to specify the URL of each API
I think that should be defined in the openapi spec itself.

hopefully with wll8/redoc-try

Not sure if that will work with this. But you can try, it'll great if you can add a guide to the docs if it works out!

Closing this, since this is a duplicate of #91.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants