Skip to content

Commit e327f5f

Browse files
authored
fix(symfony): namespace of path segment name generator services (#6642)
1 parent 93314b0 commit e327f5f

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Bundle/Resources/config

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/Resources/config/api.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
</service>
9292

9393
<!-- Resources Operations path resolver -->
94-
<service id="api_platform.path_segment_name_generator.underscore" class="ApiPlatform\Operation\UnderscorePathSegmentNameGenerator" public="false" />
95-
<service id="api_platform.path_segment_name_generator.dash" class="ApiPlatform\Operation\DashPathSegmentNameGenerator" public="false" />
94+
<service id="api_platform.path_segment_name_generator.underscore" class="ApiPlatform\Metadata\Operation\UnderscorePathSegmentNameGenerator" public="false" />
95+
<service id="api_platform.path_segment_name_generator.dash" class="ApiPlatform\Metadata\Operation\DashPathSegmentNameGenerator" public="false" />
9696

9797
<service id="api_platform.metadata.path_segment_name_generator.underscore" class="ApiPlatform\Metadata\Operation\UnderscorePathSegmentNameGenerator" public="false">
9898
<argument type="service" id="api_platform.inflector" on-invalid="null" />

0 commit comments

Comments
 (0)