If you are browsing API specs in a GitHub repository or looking at a pull request which contains one, you will be get a link to preview it through ReDoc in a new tab. 😄
Files named openapi.{yaml,yml}
, api.{yaml,yml}
and swagger.{yaml.yml}
.
- Clone the repository
- Enable "developer mode" in Chrome Extensions
- Load unpacked, and select this directory
After switching tabs in a pull request, you will need to refresh the page for the extension to identify the files present.
After installing the extension, go to a pull request that has a OpenAPI spec and you will see the following: