Open
Description
Feature Description
When browsing api docs swagger doesn't provide any kind of search, overview or navigation through the docs, limiting discoverability of api routes.
I propose we swap to scalar instead which provides navigation and more interactive system to test out api.
See demo site, to setup a view of gitea api for more realistic demo:
- click import url and paste https://demo.gitea.com/swagger.v1.json in there
- Switch to preview tab at the top
I did try integrating it myself but that bloated the end binary with 1.2MB and I'm not knowledgeable enough in JS to say if this is expected or have I did it incorrectly as the line script version fetches ~800kB (compressed).
Screenshots
General view with search:
Request sending screen: