diff --git a/src/ApiPlatform/Resources/Product/FoundProduct.php b/src/ApiPlatform/Resources/Product/FoundProduct.php index bd4a94a6..d4d8a03a 100644 --- a/src/ApiPlatform/Resources/Product/FoundProduct.php +++ b/src/ApiPlatform/Resources/Product/FoundProduct.php @@ -95,7 +95,7 @@ [ 'name' => 'orderId', 'in' => 'query', - 'required' => false, + 'required' => true, 'schema' => [ 'type' => 'integer', ],