Skip to content

[Question] Integrate with fos_js_routing?  #1048

@fedotovaleksandr

Description

@fedotovaleksandr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions