The PhpDoc of the ResponseValidator::validate() says, that it only throws ValidationFailed, but we get an InvalidSchema exception. This should be documented.
The documentation should be added in the League\OpenAPIValidation\Schema\Keywords\Type::validate().
The PhpDoc of the
ResponseValidator::validate()says, that it only throwsValidationFailed, but we get anInvalidSchemaexception. This should be documented.The documentation should be added in the
League\OpenAPIValidation\Schema\Keywords\Type::validate().