Skip to content

For JSON:API, the ID is not required in the POST request #6738

Open
@cay89

Description

@cay89

API Platform version(s) affected: 4.0.4

Description
According to the JSON:API documentation, an ID is not required in a POST request, but Api Platform requires it in OpenAPI documentation.

image

Can this be resolved so that the ID is not mandatory in a POST request? It also throws an error when I include an ID.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions