Merge branch 'fix-SwaggerDocblockConvertCommand' of https://github.com/gesof/NelmioApiDocBundle into gesof-fix-SwaggerDocblockConvertCommand

This commit is contained in:
Guilhem Niot 2019-03-09 18:15:10 +01:00
commit 42c08fa681

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 .= '