I want to define a parameter in Headers in sandbox of Nelmio api doc Bundle.
How can define this in annotation of Nelmio ApiDoc ?
I have the feeling that this is impossible at the moment. However it would be a good addition.
Hello,
I am in the same situation and i think it will be great to have this too :)
It's very useful at the moment though :)
The doc does have such field:
headers: an array of headers; available properties are: name, description, required, default. Example:
But I didn't see it could work.
Maybe it is the next release?
@yarcowang
A priori the header support has been added from version 2.13.0
https://github.com/nelmio/NelmioApiDocBundle/releases/tag/2.13.0
to test
@zied-ellouze Thanks. Get it.
Most helpful comment
I have the feeling that this is impossible at the moment. However it would be a good addition.