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 cannot really parse the Enum['cat', 'dog', 'horse'] part as I'm using a third party library to parse annotations.
I'll look into supporting PHP "enum" libraries like myclabs/php-enum.
Hello,
It could be great to have enum field as argument, to restrict values that can be passed in parameters.
Example:
Or with support of multiple types:
So if I send the value
third day
for my parameter$availability
, it can returns me an error.Thanks
The text was updated successfully, but these errors were encountered: