registerCustomOperator API </customOperator> returns success if an empty "properties" block is passed but throws 400 if "properties" block is missing
Tested on AZURE : API : https://{HOST}/api/workflow/v1/customOperator
Hit the API with below payload: { "name": "string", "className": "string", "description": "string", "content": "string", "properties": [
]
}
Response : API returns success 200 OK
Now hit the same API with Properties block missing and observe that 400 response code is returned Expected If properties block is mandatory, then empty block should also return 400 instead of 200 and return a message with the exact reason