This Bundle provides various tools to rapidly develop RESTful API's with Symfony
Modelling of the impact of social tracing apps during the Covid19 pandemic
Samples demonstrating the use of SGX DCAP (Intel Enclaves leveraging a caching server to speed up attestation)
Thinking of it again, not sure what to do here. The recipe is not meant to be used when NelmioApiDocBundle is installed for dev only (you need to move the nelmio config in the dev folder to have it work when your app doesn't install dev dependencies, right?).
So in any case this will require manual steps on your side, and I'd say adding the framework.annotations: true
config is one of these steps.
thank you @mickverm!
Fixed minor issue in configuration.
Added attributes/annotations switcher to the configuration block.
A missing -
prevents the default security policy from being set.
Added attributes/annotations switcher to the configuration block.
Sure, there you go: https://github.com/nelmio/NelmioApiDocBundle/releases/tag/v4.11.1 😉
add support for doctrine/annotations 2.0
Fixes #2073
It seems that something broke in the newer versions, as swagger got updated to support annotations v2, this bundle did not, as such I'm unable to update this bundle with my setup past the 4.2 version.
I'm not sure if I could help more than simply updating the composer file, as I'm not well versed in the internals of the bundle.
Fixes #2073
Thanks for the report! Having a quick look at their upgrade file I don't think we need more than just updating the composer file.
I'll check that in https://github.com/nelmio/NelmioApiDocBundle/pull/2074
Fixes #2073
@j-wbrown any specific reason why you're overwriting nelmio_api_doc.generator_locator
?
Seems like the root cause to me, this is a nelmio api doc bundle internal service, it should be well defined by the bundle on its own.
Feel free to open a new PR if you'd like to finish this @mvanduijker :)
Done @arturssmirnovs, https://github.com/nelmio/NelmioApiDocBundle/releases/tag/v4.11.0 ;)
Do not call ReflectionMethod::getAttributes on php <8 (#2072)
Do not call ReflectionMethod::getAttributes on php<8
fix cs
Thank you @JohnstonCode