From 738fffd79c3fcc0e66c32ab95247b0cffde76e37 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 7 May 2019 17:28:48 -0700 Subject: WIP: commit old redoc notes/files This is an alternative to the Swagger UI (for auto API docs) --- extra/redoc/README.md | 8 ++++++++ extra/redoc/index.html | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 extra/redoc/README.md create mode 100644 extra/redoc/index.html diff --git a/extra/redoc/README.md b/extra/redoc/README.md new file mode 100644 index 00000000..3a6ac937 --- /dev/null +++ b/extra/redoc/README.md @@ -0,0 +1,8 @@ + +Need to set CORS on https://api.fatcat.wiki/v0/fatcat-openapi2.yml (?) + +File does seem to work: + + http://rebilly.github.io/ReDoc/?url=https://api.fatcat.wiki/v0/openapi2.yml + +Bunch of config options. Should add more descriptions to swagger file. 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 @@ + + + + ReDoc + + + + + + + + + + + + + + -- cgit v1.2.3