apidoc: Simplify HTTP methods extraction from docstrings
Extract the methods from the sphinxcontrib-httdomain directives instead of a complicated parsing from some strings in the endpoint docstrings.
Depends on !249 (closed)
Migrated from D2679 (view on Phabricator)