Which are the tools which can be used to produce documentation for a REST API automatically using Python in Flask

0 votes
Hi all,

My basic requirement is as per the title. I am looking for a method to produce REST API documents automatically from a Flask REST API that I already have written previously.

I am looking to markup this code and I am looking for help with regard to starting out by asking if anyone uses any tools to achieve this purpose?

Appreciate all the help I can get, cheers!
Jan 14, 2019 in Python by Anirudh
• 2,090 points
1,194 views

1 answer to this question.

0 votes

Hi, good question.

There is a module meant for this exact purpose. I am sure you have heard of it, it's called Sphinx.

So what Sphinx does is that it will automatically generate documents for you as __doc__ and autodoc. Cool, right?

Did you know that even the official documentation page of Python actually used Sphinx?

Similar to the markdown text we have the reStructedText here. But it is not every time that you will prefer restructured text right?

For this exact purpose, you can use pdoc if you want to prefer Markdown text.

Hope this helps!

answered Jan 14, 2019 by Nymeria
• 3,560 points

Related Questions In Python

0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

Which IDE can be used for Python on Mac OS X

Have tried many different (Kate, Eclipse, Scite, ...READ MORE

answered Oct 15, 2018 in Python by SDeb
• 13,300 points
1,411 views
0 votes
1 answer

How to temporarily disable a foreign key constraint in MySQL?

Hello @kartik, To turn off foreign key constraint ...READ MORE

answered Jun 23, 2020 in Python by Niroj
• 82,840 points
2,449 views
0 votes
1 answer

How to output the rows which are affected using SQLAlchemy in Python?

Hi, good question. This is actually not ...READ MORE

answered Feb 15, 2019 in Python by Nymeria
• 3,560 points
3,380 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP