diff --git a/composer.json b/composer.json index 03001c2..defc05d 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ "illuminate/http": "^9.0 || ^10.0", "illuminate/support": "^9.0 || ^10.0", "nyholm/psr7": "^1.8", - "membrane/membrane": "^0.6.0", - "membrane/openapi-router": "0.2.1", + "membrane/membrane": "dev-main", + "membrane/openapi-router": "^0.4.0", "symfony/psr-http-message-bridge": "^2.1" }, "require-dev": { diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 35f3034..dfe7a1c 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -7,8 +7,8 @@ use Membrane\Builder\Builder; use Membrane\Laravel\Middleware\RequestValidation; use Membrane\Membrane; -use Membrane\OpenAPIRouter\Router\Router; -use Membrane\OpenAPIRouter\Router\ValueObject\RouteCollection; +use Membrane\OpenAPIRouter\Router; +use Membrane\OpenAPIRouter\RouteCollection; class ServiceProvider extends \Illuminate\Support\ServiceProvider { diff --git a/tests/Middleware/RequestValidationTest.php b/tests/Middleware/RequestValidationTest.php index 4d5a2ba..ec6bba1 100644 --- a/tests/Middleware/RequestValidationTest.php +++ b/tests/Middleware/RequestValidationTest.php @@ -12,7 +12,7 @@ use Membrane\Laravel\ToPsr7; use Membrane\Laravel\ToSymfony; use Membrane\OpenAPI\Exception\CannotProcessSpecification; -use Membrane\OpenAPI\Method; +use Membrane\OpenAPIReader\ValueObject\Valid\Enum\Method; use Membrane\Result\Result; use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\Attributes\DataProvider;