Skip to content

Commit 3045caa

Browse files
NPA-5357: Update OAS for error returns
1 parent fb4fbc7 commit 3045caa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

specification/examples/responses/GET_QuestionnaireResponse/errors/invalid_access_request_uuid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InvalidAccessRequestUUID:
1+
InvalidAccessRequestID:
22
summary: Invalid access request UUID
33
description: The provided access request UUID is invalid in format.
44
value:

specification/examples/responses/GET_QuestionnaireResponse/errors/missing_access_request_uuid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
missingAccessRequestUUID:
1+
missingAccessRequestID:
22
summary: Missing access request UUID
33
description: No access request UUID was provided in the request.
44
value:

specification/validated-relationships-service-api.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,11 @@ paths:
307307
308308
## Sandbox test scenarios
309309
310-
| Scenario | Request | Response |
311-
| -------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------- |
310+
| Scenario | Request | Response |
311+
| -------------------------------- | ----------------------------------------| ------------------------------------------------------------- |
312312
| Valid access request UUID | id=156e1560-e532-4e2a-85ad-5aeff03dc43e | HTTP Status 200 with QuestionnaireResponse |
313-
| Invalid access request UUID | id=INVALID | HTTP Status 400 with INVALID_REFERENCE_CODE message |
314-
| Missing access request UUID | No id parameter | HTTP Status 400 with MISSING_REFERENCE_CODE message |
313+
| Invalid access request UUID | id=INVALID | HTTP Status 400 with INVALID_IDENTIFIER_VALUE message |
314+
| Missing access request UUID | No id parameter | HTTP Status 400 with BAD_REQUEST message |
315315
| Non-existent access request UUID | id=60d09b82-f4bb-41f9-b41e-767999b4ac9b | HTTP Status 404 with QUESTIONNAIRE_RESPONSE_NOT_FOUND message |
316316
317317
operationId: get-questionnaire-response

0 commit comments

Comments
 (0)