This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Design Guidelines: HTTP Status Code type should be Integer, not String #143
Comments
I agree. As stated in https://httpwg.org/specs/rfc9110.html#rfc.section.15 - status code of a response should be a three-digit integer code. { If the colleagues currently involved in the discussion for aligning QoD with the Guidelines doc, already create a PR against the doc, it would help speed up this task as it can then be discussed and agreed in the next commonalities call. |
Agree |
Agree, let me change the definition |
Issues 145 (API Guidelines) and 146 (CAMARA_common.json ModelError Property) with docs changes applied. |
This was referenced Feb 2, 2023
This was referenced Feb 2, 2023
This was referenced Feb 3, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently the API Design Guidelines define HTTP Status Code as String within the "proposed json error structure":
There is a discussion in QualityOnDemand (see here) which came to the conclusion that the type Integer for the HTTP Status Code would be the better solution:
It would be great if this issue could be addressed short-term in Commonatlities as it is currently blocking the PR Align error format with Commonalities guidelines which itself should be done before other PRs.
Further noticed, but not part of this issue:
The text was updated successfully, but these errors were encountered: