Open
Description
Description
API platform should know default structure of own error responses, see:
\ApiPlatform\State\ApiResource\Error
\ApiPlatform\Validator\Exception\ValidationException
but don't generate schema for it. as a result you can't generate models for it and automatically map error responses in external apps.
Example