diff options
author | adev <adev2000@gmail.com> | 2019-11-24 10:44:26 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-11-27 14:38:35 +0100 |
commit | 86c1751186ab71a54e33092cd9fb83c33917f619 (patch) | |
tree | 231dec4b585d351f9adb6b35f572e484194172c5 /src/Wallabag/ApiBundle | |
parent | 8197f08266256f55767666b90be47f585c7a6d28 (diff) | |
download | wallabag-86c1751186ab71a54e33092cd9fb83c33917f619.tar.gz wallabag-86c1751186ab71a54e33092cd9fb83c33917f619.tar.zst wallabag-86c1751186ab71a54e33092cd9fb83c33917f619.zip |
Optionnal quote because the frontend does not use it
Diffstat (limited to 'src/Wallabag/ApiBundle')
-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 e5b3eb27..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"=true, "description"="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 | * |