From 1e055eecf3dca840d6773760a81bbce676b2c122 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 26 Feb 2019 17:44:25 +0200 Subject: [PATCH] fix schema in SwaggerDocblockConvertCommand --- UPGRADE-3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= '