I made a command that automatically writes this in routing.yml .
api:
resource: "."
type: "api"
prefix: /api
My problem is that when I try to access it http://localhost:8000/api
I get this exception
Cannot load resource "."
I tried to add a cache:clear to my command but I get the same exception.
I made a command that automatically writes this in routing.yml .
My problem is that when I try to access it http://localhost:8000/api
I get this exception
I tried to add a cache:clear to my command but I get the same exception.