diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 786933b..602230f 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -123,7 +123,7 @@ class SwaggerDocblockConvertCommand extends ContainerAwareCommand if ('POST' !== $apiDoc->getMethod()) { $annotation .= ', - * schema=""'; + * @SWG\Schema(type="'.$this->determineDataType($parameter).'")'; } $annotation .= '