fix schema in SwaggerDocblockConvertCommand

This commit is contained in:
Alex 2019-02-26 17:44:25 +02:00
parent 279d20be78
commit 1e055eecf3

View File

@ -123,7 +123,7 @@ class SwaggerDocblockConvertCommand extends ContainerAwareCommand
if ('POST' !== $apiDoc->getMethod()) { if ('POST' !== $apiDoc->getMethod()) {
$annotation .= ', $annotation .= ',
* schema=""'; * @SWG\Schema(type="'.$this->determineDataType($parameter).'")';
} }
$annotation .= ' $annotation .= '