0

I would like to add */* in my controller annotations Content-Type, I tried:

* @SWG\Get(produces={"*/*","application/json"})

this doesn't work :

* @SWG\Get(produces={"*\//*","application/json"})

Thanks in advance

1 Answers1

0

I found something that work. I add in nelmio_api_do.yaml :

nelmio_api_doc: documentation: produces: - '*/*' - application/json