When I try to put some link data with wrong requestBody, the link is not written to the cache, but instead of an error response I get a 204:
I observed this behaviour in the lab.
There should be an error response.
When I sent some requests in the last weeks for testcase creation I saw somehing like the following for the link-port service with an invalid requestBody (I would have excepted to see the same for the link service):
{
"code": "400",
"message": "request.body['core-model-1-4:link-port'][0] should have required property 'local-id', request.body['core-model-1-4:link-port'][0] should have required property 'link-port-direction', request.body['core-model-1-4:link-port'][0] should have required property 'logical-termination-point', request.body['core-model-1-4:link-port'][0] should match exactly one schema in oneOf",
"errors": [ ]
When I try to put some link data with wrong requestBody, the link is not written to the cache, but instead of an error response I get a 204:
I observed this behaviour in the lab.
There should be an error response. When I sent some requests in the last weeks for testcase creation I saw somehing like the following for the link-port service with an invalid requestBody (I would have excepted to see the same for the link service):