Apiato uses the powerful Laravel validation system.
In Apiato, validation must be defined in Request component, since every request might have different rules.
Validation rules are automatically applied, once injecting the Request in the Controller.
Requests help validating User data, accessibility, ownership and more.
Example Request with Validation rules:
Usage from Controller Example:
Validation Error response format:
More details about requests in the Requests Page.