File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
tests/Fixtures/TestBundle Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1515
1616use ApiPlatform \Tests \Fixtures \TestBundle \Model \CustomObject ;
1717use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
18- use Symfony \Component \Routing \Annotation \Route ;
18+ use Symfony \Component \Routing \Attribute \Route ;
1919
2020/**
2121 * Custom Controller.
Original file line number Diff line number Diff line change 1717use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1818use Symfony \Component \HttpFoundation \JsonResponse ;
1919use Symfony \Component \HttpFoundation \Request ;
20- use Symfony \Component \Routing \Annotation \Route ;
20+ use Symfony \Component \Routing \Attribute \Route ;
2121
2222/**
2323 * @author Kévin Dunglas <dunglas@gmail.com>
Original file line number Diff line number Diff line change 1717use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1818use Symfony \Component \HttpFoundation \JsonResponse ;
1919use Symfony \Component \HttpFoundation \Request ;
20- use Symfony \Component \Routing \Annotation \Route ;
20+ use Symfony \Component \Routing \Attribute \Route ;
2121
2222/**
2323 * @author Kévin Dunglas <dunglas@gmail.com>
Original file line number Diff line number Diff line change 1313
1414namespace ApiPlatform \Tests \Fixtures \TestBundle \Document ;
1515
16- use ApiPlatform \Core \ Annotation \ApiProperty ;
17- use ApiPlatform \Core \ Annotation \ApiResource ;
18- use Doctrine \ODM \MongoDB \Mapping \Annotations as ODM ;
16+ use ApiPlatform \Metadata \ApiProperty ;
17+ use ApiPlatform \Metadata \ApiResource ;
18+ use Doctrine \ODM \MongoDB \Mapping \Attribute as ODM ;
1919
2020/**
2121 * JSON Schema Context Dummy.
You can’t perform that action at this time.
0 commit comments