okapi icon indicating copy to clipboard operation
okapi copied to clipboard

add support for rapi docs

Open ThouCheese opened this issue 5 years ago • 3 comments

Rapi doc is an alternative front end for openapi. This pull requests adds support for Rapi Doc to Okapi. The difference with the swagger UI is that swagger UI communicates with the backend using an API, while Rapi Doc uses a static html file. I have held off on using a template renderer for rendering this html file to minimize the number of dependencies in Okapi.

ThouCheese avatar Jun 26 '20 13:06 ThouCheese

I have added a deep linking feature to make sure that the urls contain the full route that is being viewed. I have also added a feature flag to make sure the added code is only compile with the feature "rapi" enabled.

ThouCheese avatar Jul 18 '20 21:07 ThouCheese

Can you rebase this?

svenstaro avatar Jun 13 '21 06:06 svenstaro

Changes in the PR are partly in 9f8b0644f984c07e3c89c0c321658ab5e0693ee5 (including some additional settings) but drop-down has not been added yet. This might be added later, so will leave PR open for now.

ralpha avatar Sep 03 '21 18:09 ralpha

Is this MR still required? I don't think the drop-down is very useful in most cases. But I also see you made other changes since then. @ThouCheese could you give some inside on this? Otherwise we can close this PR.

ralpha avatar May 29 '23 18:05 ralpha

Closing PR. If needed in future, can always reopen.

ralpha avatar Dec 04 '23 00:12 ralpha