Closed PedroDiez closed 1 month ago
cc @jlurien
ready for review cc @shilpa-padgaonkar @rartych @patrice-conil @bigludo7
I have updated bearer format to: "{$request.body#/sinkCredential.credentialType}"
As https://swagger.io/docs/specification/authentication/bearer-authentication/ indicates, is an optional property and a hint for the client. ( # optional, arbitrary value for documentation purposes), so semantically speaking accordingly to CloudEvents model is the concept of credentialType and we are restricting to be only ACCESSTOKEN (to me makes more sense but to have aligment/consensus on that)
If you think it is better to indicate: "{$request.body#/sinkCredential.accessToken}" just because we only allow ACCESSTOKEN so far and the format is "accessToken" (i.e. a string) it is also fine to me.
Just to be transparent about this.
@patrice-conil or @bigludo7 : Could you kindly review and approve the PR if you find no issues so that we can proceed to merge?
If no other comments I will be merging on Monday next week
What type of PR is this?
What this PR does / why we need it:
This PR covers the
x-correlator
naming guideline adoption. Also given format to CAMARA_common.yaml (2-space indentation)Documentation impacted (some doubts commented within PR):
Which issue(s) this PR fixes:
Fixes #191
Special notes for reviewers:
Some notes: 1) To be merged after #193 2) Should we take advantage of this PR and align error exceptions for POST /notifications? To align with #189. Commented within PR 3) Removed Exception 415 4) Refactor bearer format to bearerFormat: "{$request.body#/sinkCredential.credentialType}"
Changelog input
Additional documentation
N/A