-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should errors 405, 415, 500, 501, 502, 503, 504 be listed in CAMARA_common.yaml #355
Comments
Think we have two options:
My point here would be to also remove 406. PROS:
CONS:
I am fine with this option, but at the same time being transparent with the implications it may have.
Modify in API-design-guidelines.md#61-standardized-use-of-camara-error-responses As per below (some wording like this): Mandatory Errors to be documented in CAMARA API Spec YAML are the following:
NOTE:
WDYT @rartych, @bigludo7, @eric-murray, @shilpa-padgaonkar, @patrice-conil, @jlurien |
I am fine with both options. But honestly i prefer Option 2 |
I would prefer Option 2 as well, but why not add a comment in CAMARA_common.yaml for each error schema to say whether it is mandatory or optional to include it in the API yaml? |
I'm fine with the option 2. I'm also in favor to add your proposal explicitly in the guidelines (I have copied to be sure about it because the formatting is confusing) (...) Note:
|
Problem description
It was agreed in #321 not to include some 40X and 50X errors in API definitions.
Errors 405, 415, 500, 501, 502, 503, 504 are present in CAMARA_common.yaml
Expected behavior
Remove definitions from CAMARA_common.yaml
Alternative solution
Clarification if errors stay in CAMARA_common.yaml.
Additional context
The text was updated successfully, but these errors were encountered: