HomeSoftware Heritage

apidoc: fix behaviour on doc routes
b8e3167b6985Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

apidoc: fix behaviour on doc routes

The apidoc route clobbered the api route incorrectly when both routes
were the same and the api route was a POST route. The apidoc route now
only renders if the request was a GET if the routes are the same.

Details

Provenance
jbertranAuthored on Aug 25 2016, 10:47 AM
jbertranPushed on Aug 25 2016, 11:16 AM
Differential Revision
D109: API: fix apidoc behaviour
Parents
R65:b614d3b486ff: Update requirements for new apidoc
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/370