-
-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For JSON:API, the ID is not required in the POST request #6738
Comments
If you didn't disable JSON-LD, this link is expected for autodiscoverability of the Hydra docs. |
Indeed, that's a bug then! |
I’ve tried to achieve a setup where the "ID" field would be removed (or mark as not required) specifically for the POST endpoint in the |
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.
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.
The text was updated successfully, but these errors were encountered: