Open cay89 opened 2 days ago
Thanks for the bug report, looking into that.
First part: https://github.com/api-platform/core/pull/6755
I need to investigate the list:1,2
rule as it's not the same problem.
First part: #6755
I need to investigate the
list:1,2
rule as it's not the same problem.
Thanks! I see that maybe this will resolve #6725 too.
API Platform version(s) affected: 4.0.5
Description
If I set the formats to
jsonapi
in the config, I encounter to the following problems:1, When the
prop
attribute is requiredRequest:
Response:
422 Error: Unprocessable Entity
Whatever the value of
prop
is, the response will always be the same. The problems are:2, When the value of the
prop
attribute should be in a listRequest:
Response:
201
Whatever the value of
prop
is, the answer will always be the same. The problem is:How to reproduce
1, Set the formats to
jsonapi
in theconfig/api-platform.php
2, Create a simple DTO to test the cases explained above.
3, Test the endpoint using the OpenAPI documentation page.