ga4gh / task-execution-schemas

Apache License 2.0
80 stars 27 forks source link

Add `400`, `401`, `403`, `500` response codes to all API calls and `404` to all GET tasks #165

Open markjschreiber opened 2 years ago

markjschreiber commented 2 years ago

To facilitate the generation of robust clients from OpenAPI.yml all REST methods should declare 400, 401, 403, and 500 as possible response codes (same as WES does). In addition the GET methods should declare 404 as a possible response.

markjschreiber commented 2 years ago

Happy to add a PR for this if you agree.