Skip to content

API_DOC endpoint is mandatory after upgrade to ApiPlatform 4.0 #6848

Closed as not planned
@jkabat

Description

@jkabat

API Platform version(s) affected: 4.0.10

Description
After upgrade my JSON-LD API does not work when I have setting API_DOC: FALSE (I do not want to expose it for production)

Additional Context
I'm getting RouteNotFoundException

Unable to generate a URL for the named route "api_doc" as such route does not exist.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions