docs icon indicating copy to clipboard operation
docs copied to clipboard

Missing doc about how to change base path of ApiPlatform

Open Nek- opened this issue 7 years ago • 2 comments

Hello,

In my apps I change the base path of ApiPlatform by using something similar to that:

# routing/api_platform.yaml
api_platform:
    resource: .
    type: api_platform
    prefix: /v1

api:
    resource: ../api_platform/routes/api.yaml
    prefix:   /v1

But I can't find something about in the documentation. Was it removed? Or is it just missing?

Nek- avatar Apr 09 '18 16:04 Nek-

Same for me. Currently adding it afterwards

thalion0 avatar Jun 26 '20 07:06 thalion0

It's missing you're welcome to add this to https://github.com/api-platform/docs/blob/2.5/core/configuration.md

soyuka avatar Aug 05 '20 09:08 soyuka