I want to define a parameter in the headers in the sandbox of the Nelmio API doc Bundle package.
How can this be defined in the Nelmio ApiDoc annotation?
@ApiDoc(
resource=true,
description="Return the information",
requirements={
{
"name"="ref",
"dataType"="integer",
"requirement"="\d{1,6}",
"description"="Ref"
}
},
)
source
share