Skip to content

Commit 989792f

Browse files
Fix invalid error message
1 parent 094289f commit 989792f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sandbox/api/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ paths:
213213
value:
214214
errors:
215215
- code: NOTIFY_INVALID_REQUEST
216-
detail: "Invalid Request: Only 'limit' query parameter is supported"
216+
detail: "Only 'limit' query parameter is supported"
217217
id: rrt-1931948104716186917-c-geu2-10664-3111479-3.0
218218
links:
219219
about: https://digital.nhs.uk/developer/api-catalogue/nhs-notify-supplier
@@ -223,7 +223,7 @@ paths:
223223
value:
224224
errors:
225225
- code: NOTIFY_INVALID_REQUEST
226-
detail: "Invalid Request: limit parameter must be a positive\
226+
detail: "The limit parameter must be a positive\
227227
\ number not greater than 2500"
228228
id: rrt-1931948104716186917-c-geu2-10664-3111479-3.0
229229
links:

sandbox/data/examples/errors/responses/getLetter/limitInvalidValue.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"errors": [
33
{
44
"code": "NOTIFY_INVALID_REQUEST",
5-
"detail": "Invalid Request: limit parameter must be a positive number not greater than 2500",
5+
"detail": "The limit parameter must be a positive number not greater than 2500",
66
"id": "rrt-1931948104716186917-c-geu2-10664-3111479-3.0",
77
"links": {
88
"about": "https://digital.nhs.uk/developer/api-catalogue/nhs-notify-supplier"

sandbox/data/examples/errors/responses/getLetter/unknownParameter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"errors": [
33
{
44
"code": "NOTIFY_INVALID_REQUEST",
5-
"detail": "Invalid Request: Only 'limit' query parameter is supported",
5+
"detail": "Only 'limit' query parameter is supported",
66
"id": "rrt-1931948104716186917-c-geu2-10664-3111479-3.0",
77
"links": {
88
"about": "https://digital.nhs.uk/developer/api-catalogue/nhs-notify-supplier"

0 commit comments

Comments
 (0)