You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, this is not an issue.
Just ask, is it possible to merge OA\Components ?
The case is, I have a lot of controllers.
For maintainability, at least for myself, I separate the controllers like this:
But, I got an error, and I know, what exactly those error.
PHP User Warning 'yii\base\ErrorException' with message 'Only one @OA\Components() allowed for @OA\OpenApi() multiple found in:
Using: /var/www/html/modules/v1/controllers/AgamaController.php on line 226
Skipped: /var/www/html/modules/v1/controllers/MeController.php on line 128'
in /var/www/html/vendor/zircote/swagger-php/src/Loggers/DefaultLogger.php:31
It so readable in each route/action.
Any suggestion is so appreciated.
The text was updated successfully, but these errors were encountered:
Basically, this is not an issue.
Just ask, is it possible to merge
OA\Components
?The case is, I have a lot of controllers.
For maintainability, at least for myself, I separate the controllers like this:
But, I got an error, and I know, what exactly those error.
It so readable in each route/action.
Any suggestion is so appreciated.
The text was updated successfully, but these errors were encountered: