From 3e4760f6c475f3de903caf7be28e16ff5bedb8a6 Mon Sep 17 00:00:00 2001 From: Max Martens Date: Fri, 21 Mar 2025 17:57:18 +0100 Subject: [PATCH] Add 404 error when no PAD present for OVpay token --- .../orders/SE-orders-gboAGeProfile.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/openapi/orders/SE-orders-gboAGeProfile.yaml b/src/openapi/orders/SE-orders-gboAGeProfile.yaml index 426ec6e..daa5b07 100644 --- a/src/openapi/orders/SE-orders-gboAGeProfile.yaml +++ b/src/openapi/orders/SE-orders-gboAGeProfile.yaml @@ -94,7 +94,23 @@ paths: "instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c", "apiErrorCode": "htm.api.err.400.3", } - + "404": + description: Not found + content: + application/json: + schema: + $ref: "#/components/schemas/rfc9457Response" + examples: + No birthdate present in PAD of OVpay token: + summary: No birthdate present in PAD of OVpay token + value: + { + "type": "https://www.htm.nl/api/v1/404Error", + "title": "Missing birthdate in PAD", + "detail": "There is no birthdate present in the PAD of the OVpay token, or there is no PAD present at all", + "instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c", + "apiErrorCode": "htm.api.err.404.1", + } components: schemas: GboAgeProfileResponse: