Redocly / redoc

📘 OpenAPI/Swagger-generated API Reference Documentation
https://redocly.github.io/redoc/
MIT License
23.7k stars 2.31k forks source link

Allow display of multiple swagger files in the left pane? #239

Closed gauravmokhasi closed 7 years ago

gauravmokhasi commented 7 years ago

Can we display more than one swagger file in the left pane itself, instead of in the top bar?

Example Levels in the Left Pane when students-swagger.yaml is loaded:

We don't want to combine the different API families into a single swagger, as each has their own endpoint. We also want the user to be able to download the particular swagger (e.g. teachers-swagger.yaml) by clicking on the "download" button.

RomanHotsiy commented 7 years ago

@gauravmokhasi No, this is not supported by ReDoc and there are not plans to support it Instead you can have your families shown in the navbar. Here is the example of that: https://github.com/Rebilly/ReDoc/blob/master/demo/examples/multiple-apis/index.html

guilhermegambetti commented 6 years ago

The link above doesn't work anymore, please refer to the following link https://github.com/Rebilly/ReDoc/blob/039bbdb585f92a7e7c5d38ea5776c42d5d39480e/demo/examples/multiple-apis/index.html