I have a parameters called items, and it is a array of objects…
I am trying
* @OAParameter(
* name="itens",
* in="query",
* required=true,
* description="Array of objects with itens to credit (Ex.: [{id_produto:50, qtde:25, valor_unitario:150}, {id_produto:51, qtde: 5, valor_unitario: 20}])",
* @OAJsonContent(
* type:
* )
* @OASchema(
* type="array",
* items= @OAItems(
* type="object",
* properties= @OAJsonContent(
*
* )
* )
* )
* ),
How i can do it?
i need pass this parameters
New contributor
Pedro Oliveira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.