laravel-openapi
laravel-openapi copied to clipboard
parameter & factory : add argument
Hello, I'm wondering if it is possible to add some argument to \Vyuldashev\LaravelOpenApi\Attributes\Parameters to allow some argument. The idea would be to pass the validation request, by example, and allow to build part of the parameter information
So something like this
#[OpenApi\Parameters(MyParameters::class), MyRequest::class]
#[OpenApi\Response(ErrorValidationResponse::class, 422)]
#[OpenApi\Operation]
public function index(MyRequest $request)
thanks