Skip to content

Commonalities r4.4 alignment - #66

Open
GillesInnov35 wants to merge 12 commits into
mainfrom
Commonalities-r4.4-alignment
Open

GillesInnov35 wants to merge 12 commits into
mainfrom
Commonalities-r4.4-alignment

Conversation

@GillesInnov35

@GillesInnov35 GillesInnov35 commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Updated references to error responses in the KYC age verification API specification to point to the correct components in CAMARA_common.yaml.

What type of PR is this?

Add one of the following kinds:

  • correction

What this PR does / why we need it:

Commonalities r4.4 alignment

  • [P-027] info.description template 'additional-error-responses' has drifted from canonical at paragraph 3
  • The Generic* responses below are DEPRECATED as of Commonalities 0.9.0
  • update Test_definitions/kyc-age-verification.feature with 403 and 429 tests features

Which issue(s) this PR fixes:

Fixes #67

Updated references to error responses in the KYC age verification API specification to point to the correct components in CAMARA_common.yaml.
@camara-validation

camara-validation Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

CAMARA Validation — PASS

0 errors, 0 warnings, 6 hints | Profile: standard

View full results

Removed various error response definitions from the KYC age verification API specification, retaining only the 'not_available' enum value.

@PedroDiez PedroDiez left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for API Spec, minor coments on tests file (editorial aligment)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GillesInnov35

Copy link
Copy Markdown
Contributor Author

@PedroDiez , could review file changes in kyc-age-verification.feature. Scenarios should be now aligned on Commonalities r4.4 tests scenarios. Thanks

@PedroDiez PedroDiez left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

And the response property "$.message" contains a user friendly text

@kyc-age-verification_verifyAge_403.02_api_client_token_mismatch
Scenario: "/verify" not created by the API client given in the access token

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: This can be for WG decision, replace /verify by verifyAge (May be done later in case commented by RM)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot @PedroDiez ,
verifyAge is the operationId not the resource name. In test scenario_template {resource} must be replaced by the API resource which is consumed is /verify, isn't it ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me is fine, just in case that comment would happen later, it will be no problem from our side

@fernandopradocabrillo fernandopradocabrillo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GillesInnov35

Copy link
Copy Markdown
Contributor Author

@ToshiWakayama-KDDI , could you review this PR. Thanks a lot

And the header "Content-Type" is set to "application/json"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"
And the header "x-correlator" complies with the schema at "../common/CAMARA_common.yaml#/components/headers/x-correlator"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update is not needed.
In the API spec, the reference points to the local CAMARA_common.yaml copy, which is to avoid to change that reference it in case it would be updated (that is the changes are sync via updates of that local copy of commonalities)

When API bundling is performed via RM automation flow, that process makes auto-contained schemas so that the current value is valid

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commonalities r4.4 alignment

3 participants