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

Required @OA\Info() not found in Laravel 9 and want to use it outside controller #468

Closed
mayutheandev opened this issue May 4, 2022 · 1 comment

Comments

@mayutheandev
Copy link

Regenerating docs default

ErrorException

Required @OA\Info() not found

at vendor/zircote/swagger-php/src/Loggers/DefaultLogger.php:31
27▕ } else {
28▕ $error_level = E_USER_WARNING;
29▕ }
30▕
➜ 31▕ trigger_error($message, $error_level);
32▕ }
33▕ }
34▕

  +23 vendor frames 

24 artisan:37
Illuminate\Foundation\Console\Kernel::handle()

@DerManoMann
Copy link

Pretty sure this is related to https://zircote.github.io/swagger-php/guide/faq#warning-required-oa-info-not-found

Also, have a look at #443

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

3 participants