diff options
author | adev <adev2000@gmail.com> | 2019-10-27 18:51:32 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-11-27 14:38:35 +0100 |
commit | 8197f08266256f55767666b90be47f585c7a6d28 (patch) | |
tree | 528d86ecd9fca0903c6747480474d251a19c817d /src/Wallabag/ApiBundle | |
parent | a4064347015e169b309153f214e2bb5ec17fde21 (diff) | |
download | wallabag-8197f08266256f55767666b90be47f585c7a6d28.tar.gz wallabag-8197f08266256f55767666b90be47f585c7a6d28.tar.zst wallabag-8197f08266256f55767666b90be47f585c7a6d28.zip |
API return an error with empty quote
Fix #4137
Diffstat (limited to 'src/Wallabag/ApiBundle')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/AnnotationRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php index f59431e4..e5b3eb27 100644 --- a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php +++ b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php | |||
@@ -37,7 +37,7 @@ 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", "required"=true, "description"="Quote for the annotation"}, |
41 | * {"name"="text", "dataType"="string", "required"=true, "description"=""}, | 41 | * {"name"="text", "dataType"="string", "required"=true, "description"=""}, |
42 | * } | 42 | * } |
43 | * ) | 43 | * ) |