We can either manually write this or (better) generate it automatically with flask-autodoc
flask-autodoc