The express landing page at http://localhost:1970/api was removed and replaced with ?doc, but the ?doc page is not working correctly as the "try it out" button 404s.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Improve swagger docs | mediawiki/services/citoid | master | +53 -3 |
Event Timeline
Citoid is not exposed to the world directly, so that URL is not reachable at all. If one wants to get the API docs, they should point their browser to http://localhost:1970/?doc. But again, this is all local, in production none of this can be seen, so I'm not sure this ticket is relevant.
Well, at the very least I use it for testing :). It's nice to have a page that people can navigate to if they're trying to get it to run locally.
?doc could be a real replacement, but currently it is a little broken; the sample query there goes to localhost/api, which, of course, is now 400 response!
Change 420313 had a related patch set uploaded (by Mvolz; owner: Mvolz):
[mediawiki/services/citoid@master] Improve swagger docs
Change 420313 merged by Mobrovac:
[mediawiki/services/citoid@master] Improve swagger docs