You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hug.get('/documents/list')
def llista():
"""Returns whole list of documents"""
docs = [lib.Doc(doc).HeaderstoJSON for doc in glob.iglob('./*.md')]
return {'documents': docs}
I second this, especially as there is no obvious workaround. @jay-tyler I wouldn't say it's an enhancement, but clearly a bug. Ports are inherent to the API/server functionality, and so should be honored consistently throughout the code.
I have this method:
and
http://localhost:8000
returns me:but really the autogenerated documentation should say the port:
The text was updated successfully, but these errors were encountered: