Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions code/API_definitions/application-endpoint-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -518,40 +506,3 @@ components:
minimum: 1
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