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

No way to add Laravel prebuild controllers #96

Open
zeleznypa opened this issue May 3, 2023 · 0 comments
Open

No way to add Laravel prebuild controllers #96

zeleznypa opened this issue May 3, 2023 · 0 comments

Comments

@zeleznypa
Copy link

When the Laravel\Sanctum\Http\Controllers\CsrfCookieController is used, there is no way to add it path into schema.

Route list ignore this Controller, because it not contains #[OpenApi\PathItem] and #[OpenApi\Operation] attributes, but I can't add them there, because it is a part of third-party package.

I have to make my own extension of that controller, also part of code, that automagicaly register them to route and so one...

It will be useful to have a possibility to setup this attributes also externally in the openapi.php config file.

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