Last active
November 15, 2019 09:56
-
-
Save aronbudinszky/fc96143b8bfc9ab16d7044f9b79fd7ab to your computer and use it in GitHub Desktop.
Use redoc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generates the spec into zero-dependency HTML file | |
redoc-cli bundle -o ~/desired/path/for/output/index.html ~/path/to/your/openapi.yaml | |
# Starts a server with spec rendered with ReDoc. Supports SSR mode (--ssr) and can watch the spec (--watch) | |
redoc-cli serve ~/path/to/your/openapi.yaml --watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment