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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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