mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Update outdated swagger annotations namespace (#1898)
This commit is contained in:
parent
efa83ca54e
commit
a2775b5c10
@ -27,7 +27,7 @@ class UndocumentedArrayItemsException extends \LogicException
|
|||||||
}
|
}
|
||||||
$propertyName .= $path;
|
$propertyName .= $path;
|
||||||
|
|
||||||
parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@SWG\Property(type="array", @SWG\Items(type="string"))`.', $propertyName));
|
parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@OA\Property(type="array", @OA\Items(type="string"))`.', $propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getClass()
|
public function getClass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user