Thanks to visit codestin.com
Credit goes to github.com

Skip to content

QueryParameter missing getName() method in OpenApiFactory #2967

@self443

Description

@self443

OpenApiFactory::hasParameter() calls getName() on QueryParameter objects, but this method doesn't exist.

Error: Call to undefined method ApiPlatform\Metadata\QueryParameter::getName()
Location: src/OpenApi/Factory/OpenApiFactory.php:834
API Platform version: 4.1.21

The issue occurs during OpenApiFactory initialization.

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