REST Api Documentation #11
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MarseyWorld/MarseyWorld#11
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "<deleted>:docs"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Kind of at a boilerplate point. I'm coping from HeyMoon's mediocre Python library (which is very incomplete, but much easier to parse). I need this stuff for my Perl GTK application, so might as well get it over with now.
Merge whenever the fuck you want and edit it how you please.
I decided not to use OpenAPI's Swagger since it's still fairly new and is a bitch to read. (unfortunately, WADL is a bitch to write, so just copy and paste shit lolol)
You can also convert WADL to Swagger, which can produce soyslop HTML outputs full of JS.Added /docs/api endpointXML is also more correct for it, Docbook is much more powerful than Swagger, and it feels good to write.
ty neko, just some small things
@ -0,0 +22,4 @@
from files.routes.front import comment_idlist
from files.routes.routehelpers import execute_shadowban_viewers_and_voters
from files.routes.wrappers import *
from files.__main__ import app, cache, limiter
probably could remove like... all of these imports except for the
from files.__main__ import app
@ -0,0 +29,4 @@
tree = ET.parse('docs/api.xml')
@app.get("/dev/api")
def get_docs_page():
needs
@auth_desired
wrapper so we don't """log people out"""@justcool393 review and merge
@justcool393 review and merge
@justcool393 review and merge
@justcool393 review and merge
@justcool393 review and merge
@justcool393 review and merge
@justcool393 review and merge
:marseythumbsup:
ty for the PR
uh... i guess... this is gonna be closed now cause... yeah... whatever.
<3
Pull request closed