diff --git a/src/State/ErrorProvider.php b/src/State/ErrorProvider.php index a6ebb62426..d8e13853d0 100644 --- a/src/State/ErrorProvider.php +++ b/src/State/ErrorProvider.php @@ -50,7 +50,7 @@ public function provide(Operation $operation, array $uriVariables = [], array $c foreach ($resource->getOperations() as $name => $operation) { if (isset($operation->getOutputFormats()[$request->getRequestFormat()])) { $request->attributes->set('_api_operation', $operation); - $request->attributes->set('_api_operation_nme', $name); + $request->attributes->set('_api_operation_name', $name); break 2; } }