diff --git a/Tests/Describer/ApiPlatformDescriberTest.php b/Tests/Describer/ApiPlatformDescriberTest.php index 13fb1a5..03a113b 100644 --- a/Tests/Describer/ApiPlatformDescriberTest.php +++ b/Tests/Describer/ApiPlatformDescriberTest.php @@ -12,7 +12,7 @@ namespace Nelmio\ApiDocBundle\Tests\Describer; use ApiPlatform\Core\Documentation\Documentation; -use ApiPlatform\Core\Metadata\Resource\ResourceNameCollection; +use ApiPlatform\Metadata\Resource\ResourceNameCollection; use Nelmio\ApiDocBundle\Describer\ApiPlatformDescriber; use OpenApi\Annotations\OpenApi; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; diff --git a/composer.json b/composer.json index b5dd728..43780d8 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,7 @@ "symfony/twig-bundle": "^4.4|^5.2|^6.0", "symfony/validator": "^4.4|^5.2|^6.0", - "api-platform/core": "^2.6.8", + "api-platform/core": "^2.7.0", "friendsofsymfony/rest-bundle": "^2.8|^3.0", "willdurand/hateoas-bundle": "^1.0|^2.0", "jms/serializer-bundle": "^2.3|^3.0|^4.0",