Skip to content

Commit

Permalink
Merge branch 'feat/reusable-shema-names' of github.com:dedoc/document…
Browse files Browse the repository at this point in the history
…or into feat/reusable-shema-names
  • Loading branch information
romalytvynenko committed Jun 6, 2024
2 parents 586f29e + c146a99 commit 69a1ed0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Support/OperationExtensions/RequestBodyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function handle(Operation $operation, RouteInfo $routeInfo)
$operation->addParameters($queryParams);
if (in_array($operation->method, static::HTTP_METHODS_WITHOUT_REQUEST_BODY)) {
$operation->addParameters($bodyParams);

return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Dedoc\Scramble\Support\OperationExtensions\RulesExtractor;

use Dedoc\Scramble\Support\PhpDoc;
use Illuminate\Http\Request;
use PhpParser\Node;
use PhpParser\NodeFinder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class ValidationNodesResult
public function __construct(
public $node,
public ?string $schemaName,
)
{}
) {
}
}

0 comments on commit 69a1ed0

Please sign in to comment.