Skip to content

Commit ddfec09

Browse files
maks-rafalkosoyuka
andauthored
Update src/Swagger/Serializer/DocumentationNormalizer.php
Co-Authored-By: Antoine Bluchet <[email protected]>
1 parent c5e9168 commit ddfec09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Swagger/Serializer/DocumentationNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ private function addRequestBody(bool $v3, \ArrayObject $pathOperation, \ArrayObj
554554
return $pathOperation;
555555
}
556556

557-
private function isBodyParameterAlreadyExists(array $parameters): bool
557+
private function hasBodyParameter(array $parameters): bool
558558
{
559559
foreach ($parameters as $parameter) {
560560
if (\array_key_exists('in', $parameter) && 'body' === $parameter['in']) {

0 commit comments

Comments
 (0)