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
I have found another issue where someone also struggled with this problem #1950.
I tried to add the OpenApi attribute to a controller but this resulted in an error.
In OpenApiPhpDescriber.php line 138:
Using the annotation "OpenApi\Attributes\OpenApi" as a root annotation in "App\Controllers\CustomerController::getCustomers()" is not allowed.
Where/what is the correct way to do this?
The text was updated successfully, but these errors were encountered:
As shown in #1950 would it not make sense to get the version from the config and pass that to the generator of https://github.com/zircote/swagger-php if available? Otherwise just keep using the default (as it did before).
nelmio_api_doc:
documentation:
openapi: 3.1.0# the rest of the config
I have found another issue where someone also struggled with this problem #1950.
I tried to add the
OpenApi
attribute to a controller but this resulted in an error.Where/what is the correct way to do this?
The text was updated successfully, but these errors were encountered: