Skip to content

Commit

Permalink
fix override generator
Browse files Browse the repository at this point in the history
  • Loading branch information
olivernybroe committed Nov 11, 2024
1 parent f5d2523 commit d26ac99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writing/OpenApiSpecGenerators/OverridesGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class OverridesGenerator extends BaseGenerator
public function root(array $root, array $groupedEndpoints): array
{
$overrides = $this->config->get('openapi.overrides', []);
return array_merge($root, $overrides);
return array_replace_recursive($root, Arr::undot($overrides));
}
}

0 comments on commit d26ac99

Please sign in to comment.