Skip to content

Commit 3379e25

Browse files
committed
fix(openapi): hide errors from openapi
1 parent afb739b commit 3379e25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Validator/Exception/ValidationException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#[ErrorResource(
3131
uriTemplate: '/validation_errors/{id}',
3232
status: 422,
33+
openapi: false,
3334
uriVariables: ['id'],
3435
shortName: 'ConstraintViolationList',
3536
operations: [

0 commit comments

Comments
 (0)