Closed bernardarhia closed 5 months ago
2.0.2
So is there a way to explicitly specify the type for a body param? Example: @bodyParam string:male|female required User's Gender. It'll come in very handy if something like that was added.
Enum:
https://scribe.knuckles.wtf/laravel/reference/annotations#bodyparambodyparam
However, I don't think that's supported in V2.
Scribe version
2.0.2
Your question
So is there a way to explicitly specify the type for a body param? Example: @bodyParam string:male|female required User's Gender. It'll come in very handy if something like that was added.
Docs