You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: