-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I get your repo working fine but want to let you know that the validation with "php-smart-validator" doesn't work very well. I tried to create a complete new set of rule, controller and so on with the needed 28 fields which come as well formatted JSON. Most of these values are clean numeric values. The validator only allows to you use strings - i added new rules BUT then it's not possible to mark a field as required. Therefore it would be a good way to go the "other way": First checking if the required key exists and then cecking for the right value.
I don't know if swagger-php and the integrated check would be a better solution but i want to let you inform you about this.
Metadata
Metadata
Assignees
Labels
No labels