HomeSoftware Heritage

apidoc: Fix @arg and @exception decorator data loss

Description

apidoc: Fix @arg and @exception decorator data loss

The code was badly indented.

This actually lost some @arg parameter which ultimately created the
wrong links. In effect, before that fix, only one argument could ever be
passed along.

This also fixes the generation of possible exceptions raised by the api.
In a similar manner, only one exception would ever be listed before that
fix.

Closed T623
Related T622

Details

Provenance
ardumontAuthored on Jan 12 2017, 5:06 PM
ardumontPushed on Jan 12 2017, 5:43 PM
Parents
rDWAPPS1eb3e452b8e9: Change comment to docstring
Branches
Unknown
Tags
Unknown
Tasks
T623: /api/1/origin/<id>/visits/<id>/ - Fix the wrong documentation link example