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
TypeError
in ApiPlatformDescriber
: Argument #1 ($documentation) must be of type ApiPlatform\Documentation\DocumentationInterface
#2089
Comments
Have the same issue. @Aerendir do you found solution? |
@cruiservlad , there is no solution other than adapt the code to the new interface. But as I don't know much about the project, I don't know if it is required to maintain a retro-compatibility or not. In the meantime, I simply didn't updated to the latest version of ApiPlatform, waiting for direction from maintainers of this bundle. |
I have same issue. For me it is caused by service That problem should be fixed in |
…escribers.
…escribers.
Hey @Aerendir, do you have news from the maintainers? |
No, as you can see, no one replied 😔 In the meantime, I'm using a fixed constraint in Composer: "require-dev": {
...
"nelmio/api-doc-bundle": "dev-master#523e27cb836573e9b684b823311cdc4f91794c51",
... |
It works for you ? Because "dev-master-xxx..." doesn't for me |
@mimo-lbp , this is not a fix as at next Try to set the |
Lmk if I can provide a fix in API Platform it's also possible. I'm available on the Symfony slack today. |
Sorry for the late reply, #2109 should fix this issue. Can you give it a try? Thanks! |
@GuilhemN , yes, it will fix the issue 🎉 I'll give it a try in the afternoon or tomorrow morning. Thank you! |
I confirm it works! 🎉 Many thank you! |
With ApiPlatform v.3.1.6
The text was updated successfully, but these errors were encountered: