Hi guys!
I want integrate with fos_js_routing bundle , for this i must add 'expose' option to route ,for example in traditional way @Route("/api/x/x", name="x_x_x", options={"expose"=true})
But I use yaml config for configuration api-platform
'My\Entity':
collectionOperations:
get:
method: 'GET'
options: {expose: true}
How to add 'options' for route,in yaml config?
Thanks!
Hi guys!
I want integrate with fos_js_routing bundle , for this i must add 'expose' option to route ,for example in traditional way
@Route("/api/x/x", name="x_x_x", options={"expose"=true})But I use yaml config for configuration api-platform
'My\Entity':
collectionOperations:
get:
method: 'GET'
options: {expose: true}
How to add 'options' for route,in yaml config?
Thanks!