-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add multiple swagger json file #442
Comments
ou can add them using javascript like this:
|
It would be better if it could merge the two TBH :O |
@Dalabad's solution is one of the possible ones. Anyway, multiple specs support is out of scope for ReDoc. |
When using multiple APIs with ReDoc in the fashion that @Dalabad suggested above, is there any way to also use the theme option to style each API tab? Now that I've got the theme initializing properly (thanks @RomanGotsiy for your help in the other thread!), I'd like to take it to the next step and apply it to this scenario; but, each tab pulls its own spec url in the code above, so replacing that somehow with the Redoc.init script is beyond my ability here. Is it even possible, within this context? Thanks! |
@RomanGotsiy is there an example that shows how to do a script https://stackoverflow.com/questions/54663148/how-do-you-use-redoc-with-multiple-files |
Have you tried: #442 (comment)? |
That does not work with the CLI as is. What I ended up doing was
|
How can we add more than one swagger JSON file into ReDoc?
The text was updated successfully, but these errors were encountered: