Understanding why requestBody.required
is expected as true
in OpenApiFactoryTest
#6371
-
Hi there. I'm working on a PR related to this discussion api-platform/api-platform#2680, to make optional parameters in the OpenAPI My question doesn't evolve around my code, but I'm trying to understand a test case on the dummy In the assertion part, it's expected for But the dummy is built straight with the Does someone know what's the logical path involve for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
On API Platform the body is required on every "write" operations. |
Beta Was this translation helpful? Give feedback.
On API Platform the body is required on every "write" operations.