You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Nelmio\ApiDocBundle\Tests\Functional\ControllerTest::testControllers with data set "https://github.com/nelmio/NelmioApiDocBundle/issues/2209" ('Controller2209')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
"post": {
"operationId": "post_api_v3_users_create",
"requestBody": {
+ "request": "Controller2209",
"required": true,
"content": {
"application/json": {
This was added in #1544
NelmioApiDocBundle automatically uses all newly adde processors in swagger-php. This now causes an invalid spec to be generated when using the newly added https://github.com/zircote/swagger-php/blob/038da8ad219f1e9c3f82c5d84c47da3b6f35039c/src/Processors/AugmentRequestBody.php.
According to https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#request-body-object a request body cannot contain a
request
property.swagger-php/src/Annotations/RequestBody.php
Line 36 in 038da8a
The text was updated successfully, but these errors were encountered: