Skip to content

Api Doc - Problem migration Api Filter to parameters #7905

@SalvadorCardona

Description

@SalvadorCardona

API Platform version(s) affected: 4.3

Description
When I try to remove the API Filters from my resources and replace them with parameters in my GetCollection operations, the API documentation no longer allows searching by a string, only by string[].

However, the code itself remains functional; I can still send strings or string[] objects. It's just that the API documentation is missing an input field.

Before
company & company[] is present

Image Image

After
company[] is present or not company
Image

Image

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