diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-12-04 16:09:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 16:09:49 -0800 |
commit | d816ef0530358c5b6fb757b5cfb4ca142b26ce90 (patch) | |
tree | 3421186de099cf0e6f5338486187541d0a5f96e9 /src/Wallabag/ApiBundle/Controller | |
parent | 43141054d1534c82ac181cdbe693fd13b787b281 (diff) | |
parent | 6a0d49ab7a8ac9e00f9df34b37b6d3e1ab40f2a9 (diff) | |
download | wallabag-d816ef0530358c5b6fb757b5cfb4ca142b26ce90.tar.gz wallabag-d816ef0530358c5b6fb757b5cfb4ca142b26ce90.tar.zst wallabag-d816ef0530358c5b6fb757b5cfb4ca142b26ce90.zip |
Merge pull request #4161 from aaa2000/bug-empty-quote
API return an error with empty quote
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/AnnotationRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php index f59431e4..66693189 100644 --- a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php +++ b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php | |||
@@ -37,8 +37,8 @@ class AnnotationRestController extends WallabagRestController | |||
37 | * @ApiDoc( | 37 | * @ApiDoc( |
38 | * requirements={ | 38 | * requirements={ |
39 | * {"name"="ranges", "dataType"="array", "requirement"="\w+", "description"="The range array for the annotation"}, | 39 | * {"name"="ranges", "dataType"="array", "requirement"="\w+", "description"="The range array for the annotation"}, |
40 | * {"name"="quote", "dataType"="string", "required"=false, "description"="Optional, quote for the annotation"}, | 40 | * {"name"="quote", "dataType"="string", "description"="The annotated text"}, |
41 | * {"name"="text", "dataType"="string", "required"=true, "description"=""}, | 41 | * {"name"="text", "dataType"="string", "required"=true, "description"="Content of annotation"}, |
42 | * } | 42 | * } |
43 | * ) | 43 | * ) |
44 | * | 44 | * |