Page MenuHomeSoftware Heritage

[swh-web] apidoc: Add new decorator parameter for routes requiring query parameters
ClosedPublic

Authored by anlambert on Mar 14 2019, 8:48 PM.

Details

Summary

Its purpose is to avoid displaying the invalid response in the HTML documentation
when no query parameters have been provided.

Set it to True for the /origin/metadata-search/ endpoint which falls under
that category of route.

Diff Detail

Repository
rDWAPPS Web applications
Branch
diff-apidoc-fix
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4672
Build 6211: tox-on-jenkinsJenkins
Build 6210: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 14 2019, 9:13 PM