Skip to content

Commit 5e1f313

Browse files
Merge pull request #2261 from NHSDigital/feature/ERSSUP-84771
[ERSSUP-84771]-[]-[Fix missing OAS codes for 403 forbidden]-[DMW]
2 parents 740e4f1 + 13f3781 commit 5e1f313

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

specification/components/r4/schemas/endpoints/a041-search-service-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ responses:
7272
'401':
7373
$ref: '../responses/Unauthorized.yaml'
7474
'403':
75-
$ref: '../responses/searchServiceRequest/403Response.yaml'
75+
$ref: '../responses/Forbidden.yaml'
7676
'406':
7777
$ref: '../responses/NotAcceptable.yaml'
7878
'429':

specification/components/r4/schemas/responses/ForbiddenOrNoLR.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ description: |
66
| ------------------------- | ---------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
77
| REC_FORBIDDEN | forbidden | [BaRS Error Code](https://fhir.nhs.uk/CodeSystem/http-error-codes) | A call attempts to access or operate upon a resource without proper authorisation. |
88
| NO_RELATIONSHIP | forbidden | [eRS Error Code](https://fhir.nhs.uk/CodeSystem/ers-error-codes) | The caller has no legitimate relationship with the resource. |
9+
| ACCESS_DENIED | forbidden | [APIM Error Code](https://fhir.nhs.uk/CodeSystem/NHSD-API-ErrorOrWarningCode) | The request could not be authenticated due to insufficient credentials being provided. |
10+
911
headers:
1012
X-Correlation-ID:
1113
$ref: '../headers/response/CorrelationID.yaml'
@@ -18,4 +20,4 @@ content:
1820
schema:
1921
$ref: '../NHSDigital-OperationOutcome.yaml'
2022
example:
21-
$ref: '../../examples/NHSDigital-OperationOutcome-403.json'
23+
$ref: '../../examples/NHSDigital-OperationOutcome-403.json'

specification/components/r4/schemas/responses/searchServiceRequest/403Response.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)