Skip to content

api_platform.openapi.name_converter parent definition does not exist #8385

Description

@bobvandevijver

API Platform version(s) affected: 4.3.16

Description

#8360 created a new service definition for api_platform.openapi.name_converter, with as parent serializer.name_converter.metadata_aware.abstract. However, when a name converter has not been configured, that parent does not exist.

Service "api_platform.openapi.name_converter": Parent definition "serializer.name_converter.metadata_aware.abstract" does not exist.

How to reproduce

Possible Solution

Only set the parent for api_platform.openapi.name_converter when the parent definition exists.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions