Skip to content

Commit b692606

Browse files
committed
fix(laravel): mitigate property metadata read for Error
1 parent da796b9 commit b692606

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Laravel/ApiResource/Error.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#[ErrorResource(
2929
types: ['hydra:Error'],
3030
openapi: false,
31+
uriVariables: ['status'],
3132
operations: [
3233
new Operation(
3334
name: '_api_errors_problem',

0 commit comments

Comments
 (0)