diff --git a/src/Annotations/Response.php b/src/Annotations/Response.php index 1ffe9698d..fc6d2a0ab 100644 --- a/src/Annotations/Response.php +++ b/src/Annotations/Response.php @@ -121,7 +121,7 @@ public function validate(array $stack = [], array $skip = [], string $ref = '', $valid = parent::validate($stack, $skip, $ref, $context); if (Generator::isDefault($this->description) && Generator::isDefault($this->ref)) { - $this->_context->logger->warning($this->identity() . ' One of description or ref is required'); + $this->_context->logger->warning($this->identity() . ' One of description or ref is required in ' . $this->_context->getDebugLocation()); $valid = false; }