Is your feature request related to a problem?
Current implementation of Create Detector simply throws exception for invalid JSON from user.
Leverage the validate detector implementation to return more useful validation failure messages to the user for an invalid model.
Use the same code for both purposes so that user is guaranteed that if a validation request passes, the create request will be valid.
Is your feature request related to a problem?
Current implementation of Create Detector simply throws exception for invalid JSON from user.
Leverage the validate detector implementation to return more useful validation failure messages to the user for an invalid model.
Use the same code for both purposes so that user is guaranteed that if a validation request passes, the create request will be valid.