Would it be possible to implement required fields for an endpoint, and if they are not there return a error response?