diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-07 17:28:48 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-07 17:28:53 -0700 |
commit | 738fffd79c3fcc0e66c32ab95247b0cffde76e37 (patch) | |
tree | 42381e18be3f219799faf9b96f9f3aaeb067bdc4 /extra/redoc/index.html | |
parent | c5c42b22c4b78027a2b43335ce9c747e95a5683e (diff) | |
download | fatcat-bnewbold-redoc.tar.gz fatcat-bnewbold-redoc.zip |
WIP: commit old redoc notes/filesbnewbold-redoc
This is an alternative to the Swagger UI (for auto API docs)
Diffstat (limited to 'extra/redoc/index.html')
-rw-r--r-- | extra/redoc/index.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/redoc/index.html b/extra/redoc/index.html new file mode 100644 index 00000000..dc5fad86 --- /dev/null +++ b/extra/redoc/index.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> + <head> + <title>ReDoc</title> + <!-- needed for adaptive design --> + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> + + <!-- + ReDoc doesn't change outer page styles + --> + <style> + body { + margin: 0; + padding: 0; + } + </style> + </head> + <body> + <!-- <redoc spec-url='https://api.fatcat.wiki/v0/openapi2.yml'></redoc> --> + <redoc spec-url='../../fatcat-openapi2.yml'></redoc> + <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> + </body> +</html> |