Skip to content

Commit 82d0dd7

Browse files
authored
fix(symfony): openapi property path for validation (#7411)
fixes #7408
1 parent 6916bea commit 82d0dd7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Tests/Validator/State/ParameterValidatorProviderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use ApiPlatform\Metadata\Get;
1717
use ApiPlatform\Metadata\Link;
18-
use ApiPlatform\Metadata\Parameter;
1918
use ApiPlatform\Metadata\Parameters;
2019
use ApiPlatform\Metadata\QueryParameter;
2120
use ApiPlatform\OpenApi\Model\Parameter as ModelParameter;
@@ -25,9 +24,8 @@
2524
use ApiPlatform\Validator\Exception\ValidationException;
2625
use PHPUnit\Framework\TestCase;
2726
use Symfony\Component\HttpFoundation\Request;
28-
// use Symfony\Component\Validator\Constraint\NotBlank;
29-
use Symfony\Component\Validator\ConstraintViolationList;
3027
use Symfony\Component\Validator\Constraints\NotBlank;
28+
use Symfony\Component\Validator\ConstraintViolationList;
3129
use Symfony\Component\Validator\Validator\ValidatorInterface;
3230

3331
final class ParameterValidatorProviderTest extends TestCase

0 commit comments

Comments
 (0)