From a6e3e289427da42800b1937a604336630ff156e1 Mon Sep 17 00:00:00 2001 From: maheshc01 Date: Mon, 10 Aug 2026 10:23:30 -0500 Subject: [PATCH 1/2] fix: remove inapplicable error response codes per Commonalities r4.3 --- .../application-endpoint-registration.yaml | 48 ------------------- 1 file changed, 48 deletions(-) diff --git a/code/API_definitions/application-endpoint-registration.yaml b/code/API_definitions/application-endpoint-registration.yaml index a75e827..572d7f5 100644 --- a/code/API_definitions/application-endpoint-registration.yaml +++ b/code/API_definitions/application-endpoint-registration.yaml @@ -153,8 +153,6 @@ paths: $ref: "../common/CAMARA_common.yaml#/components/responses/Generic403" "404": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic404" - "422": - $ref: "#/components/responses/Generic422" "429": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic429" get: @@ -189,10 +187,6 @@ paths: $ref: "../common/CAMARA_common.yaml#/components/responses/Generic401" "403": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic403" - "404": - $ref: "../common/CAMARA_common.yaml#/components/responses/Generic404" - "422": - $ref: "#/components/responses/Generic422" "429": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic429" @@ -236,8 +230,6 @@ paths: $ref: "../common/CAMARA_common.yaml#/components/responses/Generic403" "404": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic404" - "422": - $ref: "#/components/responses/Generic422" "429": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic429" @@ -272,8 +264,6 @@ paths: $ref: "../common/CAMARA_common.yaml#/components/responses/Generic403" "404": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic404" - "422": - $ref: "#/components/responses/Generic422" "429": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic429" @@ -302,8 +292,6 @@ paths: $ref: "../common/CAMARA_common.yaml#/components/responses/Generic403" "404": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic404" - "422": - $ref: "#/components/responses/Generic422" "429": $ref: "../common/CAMARA_common.yaml#/components/responses/Generic429" @@ -519,39 +507,3 @@ components: maximum: 65535 example: 8080 - responses: - Generic422: - description: Unprocessable Content - headers: - x-correlator: - $ref: "#/components/headers/x-correlator" - content: - application/json: - schema: - allOf: - - $ref: "../common/CAMARA_common.yaml#/components/schemas/ErrorInfo" - - type: object - properties: - status: - enum: - - 422 - code: - enum: - - SERVICE_NOT_APPLICABLE - - UNIDENTIFIABLE_APPLICATION_PROFILE - examples: - GENERIC_422_SERVICE_NOT_APPLICABLE: - description: Service not applicable for the provided identifier. - value: - status: 422 - code: SERVICE_NOT_APPLICABLE - message: Service not supported for this applicationProfileId - UNIDENTIFIABLE_APPLICATION_PROFILE: - description: | - The Application Profile is not included in the request - and the profile information cannot be derived - from the 3-legged access token - value: - status: 422 - code: UNIDENTIFIABLE_APPLICATION_PROFILE - message: The Application Profile cannot be identified From 1146c72b194153975427db3e7de77bd048722ae6 Mon Sep 17 00:00:00 2001 From: maheshc01 Date: Mon, 10 Aug 2026 10:26:09 -0500 Subject: [PATCH 2/2] fix: remove trailing blank lines --- code/API_definitions/application-endpoint-registration.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/code/API_definitions/application-endpoint-registration.yaml b/code/API_definitions/application-endpoint-registration.yaml index 572d7f5..4198eec 100644 --- a/code/API_definitions/application-endpoint-registration.yaml +++ b/code/API_definitions/application-endpoint-registration.yaml @@ -506,4 +506,3 @@ components: minimum: 1 maximum: 65535 example: 8080 -