fabric8-services / fabric8-jenkins-idler

OpenShift.io service to idle resp.unidle Jenkins instances
Apache License 2.0
4 stars 15 forks source link

Change api spec to return multiple errors instead of a single one #231

Open sthaha opened 6 years ago

sthaha commented 6 years ago

Currently, rest api calls that fail returns a single instance of error ( { "error": "description" } ) but there are cases when there would be multiple errors that need to be propagated to the caller e.g. Tenant Info returns a list of errors. So the proposal is to change the error to a list of errors.