1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

API return an error with empty quote

Fix #4137
This commit is contained in:
adev 2019-10-27 18:51:32 +01:00 committed by Jeremy Benoist
parent a406434701
commit 8197f08266
No known key found for this signature in database
GPG key ID: 84290C294324D304
4 changed files with 33 additions and 1 deletions

View file

@ -37,7 +37,7 @@ class AnnotationRestController extends WallabagRestController
* @ApiDoc(
* requirements={
* {"name"="ranges", "dataType"="array", "requirement"="\w+", "description"="The range array for the annotation"},
* {"name"="quote", "dataType"="string", "required"=false, "description"="Optional, quote for the annotation"},
* {"name"="quote", "dataType"="string", "required"=true, "description"="Quote for the annotation"},
* {"name"="text", "dataType"="string", "required"=true, "description"=""},
* }
* )