File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ paths:
329329 " 200 " :
330330 $ref : " #/components/responses/SdsDeviceSearch"
331331 " 400 " :
332- $ref : " #/components/responses/BadRequest "
332+ $ref : " #/components/responses/SdsSearchDeviceBadRequest "
333333 x-amazon-apigateway-integration :
334334 << : *ApiGatewayIntegration
335335 uri : ${method_searchSdsDevice}
Original file line number Diff line number Diff line change @@ -47,6 +47,23 @@ components:
4747 errors :
4848 - code : " VALIDATION_ERROR"
4949 message : " Item already exists"
50+ SdsSearchDeviceBadRequest :
51+ description : searchSDSDevice Bad request
52+ content :
53+ application/json :
54+ schema :
55+ $ref : " #/components/schemas/ErrorResponse"
56+ examples :
57+ MissingValue :
58+ value :
59+ errors :
60+ - code : " MISSING_VALUE"
61+ message : " SearchSDSDeviceQueryParams.nhs_as_client: field required"
62+ ValidationError :
63+ value :
64+ errors :
65+ - code : " VALIDATION_ERROR"
66+ message : " SearchSDSDeviceQueryParams.foo: extra fields not permitted"
5067 SdsSearchEndpointBadRequest :
5168 description : searchSDSEndpoint Bad request
5269 content :
You can’t perform that action at this time.
0 commit comments