-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
OpenApi export command does not work #5567
Comments
I have the same issue when I try to run
I did a small research and seems that it is related to this construction :
in |
I made a PR to fix that #5568 , not sure whether "this is the way" ™️ but at least it works for me |
Taking into consideration changes in version |
@Pierstoval I tried to make your changes locally but now I have another issue
while I running any other CLI command |
API Platform version(s) affected: 3.1.9
Description
The autoloader expected class "ApiPlatform\Symfony\Bundle\Command\OpenApiCommand" to be defined in file "/app/vendor/composer/../api-platform/core/src/Symfony/Bundle/Command/OpenA
piCommand.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
How to reproduce
Just install symfony 6.2 with api-platform >3.1.7 and try to run the command api:openapi:export
The text was updated successfully, but these errors were encountered: