Skip to content

Commit

Permalink
fix proxy schema
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 3, 2024
1 parent 8c03116 commit 00644da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/Proxy/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct(string $type, ?Generator\Config $config = null)

public function generate(SpecificationInterface $specification): Generator\Code\Chunks|string
{
$schema = new \PSX\Schema\Schema(TypeFactory::getAny(), $specification->getDefinitions());
$schema = new \PSX\Schema\Schema($specification->getDefinitions(), null);
$generator = $this->factory->getGenerator($this->type, $this->config);

$result = $generator->generate($schema);
Expand Down

0 comments on commit 00644da

Please sign in to comment.