acoomans / flask-autodoc

Flask autodoc automatically creates an online documentation for your flask application.
MIT License
98 stars 49 forks source link

Add a link to GET endpoints without arguments. #24

Closed jwg4 closed 8 years ago

jwg4 commented 8 years ago

This means that its very easy to see the contents of an endpoint like this.

jwg4 commented 8 years ago

You were right about the second condition which was an error. Have replaced with if + else. Happy to squash the commits if you prefer, haven't done so yet to keep the discussion clear in case there are more comments.

lukeyeager commented 8 years ago

Assigning myself to try this out when I find some time ...

lukeyeager commented 8 years ago

LGTM. Here's a screenshot of the new functionality (note the links):

autodoc-get-link-pr

Thanks @jwg4!