Skip to content

T431: Drop FlaskAPI for custom documentation

drop Flask API for custom documentation

  • apidoc.py: provide decorators for documenting API processing methods
  • api.html: display all API documentation endpoints and associated doc
  • apidoc.html: display documentation on endpoint, and prettified response if an API route was used browse: Open /api/1/doc/ browsing view API: document processing methods with new APIdoc
  • Use new APIdoc decorators to document API methods.
  • Docstrings now contain only the function's overview.

Test Plan

Included


Migrated from D98 (view on Phabricator)

Merge request reports