Conversation
Align location-retrieval.yaml comm 0.5 for Error
Align error code with comm.0.5
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
| code: | ||
| enum: | ||
| - PERMISSION_DENIED | ||
| - INVALID_TOKEN_CONTEXT |
There was a problem hiding this comment.
We may need to remove INVALID_TOKEN_CONTEXT for our APIs. There is an ongoing discussion in Commonalities
There was a problem hiding this comment.
I tend to prefer to remove it. What is your view @jlurien as we need probably to move forward with this PR? I remove it, we merge this one and we listen the Commonalities version in case we need to reintroduce it?
fix @location_retrieval_15_device_token_mismatch to use 422 Unnecessary identifier instead of 403 access token mistmatch.
|
@jlurien can we merge it from your side as well with an approve? :) |
jlurien
left a comment
There was a problem hiding this comment.
In location-verification PR, I copied from the artifact in Commonalities, the scenarios under
Error scenarios for management of input parameter device
_C01.XX series, and removed the old ones. This way is easier to maintain whatever is changed in the common artifact.
The rest LGTM
| Then the response status code is 422 | ||
| And the response property "$.status" is 422 | ||
| And the response property "$.code" is "UNSUPPORTED_DEVICE_IDENTIFIERS" | ||
| And the response property "$.code" is "UNSUPPORTED_IDENTIFIERS" |
There was a problem hiding this comment.
Update lines 1 and 15 to vwip
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
Updates location-retrieval API with the changes derived from Commonalities and ICM updates
x-camara-guidelines: 0.5.0
Which issue(s) this PR fixes:
Fixes #276, #279
Special notes for reviewers:
There are still some open discussions in Commonalities that may impact this PR, so we will keep it open until there is a final version for x-camara-guidelines: 0.5.0
Changelog input
Additional documentation
This section can be blank.