Nelmioapidocbundle: How can I define a parameter in Headers in sandbox of Nelmio api doc Bundle?

Created on 23 Dec 2015  路  5Comments  路  Source: nelmio/NelmioApiDocBundle

I want to define a parameter in Headers in sandbox of Nelmio api doc Bundle.

How can define this in annotation of Nelmio ApiDoc ?

Most helpful comment

I have the feeling that this is impossible at the moment. However it would be a good addition.

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alxfv picture alxfv  路  5Comments

andydandy80 picture andydandy80  路  4Comments

ajaypatelbardoli picture ajaypatelbardoli  路  6Comments

jhkchan picture jhkchan  路  4Comments

manseuk picture manseuk  路  6Comments