Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameter & factory : add argument #78

Open
Grummfy opened this issue Aug 23, 2022 · 0 comments
Open

parameter & factory : add argument #78

Grummfy opened this issue Aug 23, 2022 · 0 comments

Comments

@Grummfy
Copy link

Grummfy commented Aug 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant