diff options
author | Arpit Singh <as00745003@techmahindra.com> | 2024-07-17 10:24:44 +0530 |
---|---|---|
committer | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-07-24 09:28:21 +0000 |
commit | 44bca362f17223661abe4fddb6003b097db78879 (patch) | |
tree | f86e6001998a7558649552c9d451d5adbd2fc209 /cps-rest/src/main/java | |
parent | 5cba1b8333b4b2f2d97160f0ee210dde9f25aee1 (diff) |
Fix "Create a node" and "Add List Elements" APIs response code
Create a node and Add list elements APIs would return a 500 response
code when a JSON payload mismatching the Schema was sent as part of
the request body.
Updated the code to return response code 400.
Issue-ID: CPS-2319
Change-Id: I86d6af446966790d9e45045b330f0c411fcd0f1d
Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
Diffstat (limited to 'cps-rest/src/main/java')
0 files changed, 0 insertions, 0 deletions