Optionnal quote because the frontend does not use it

This commit is contained in:
adev
2019-11-24 10:44:26 +01:00
committed by Jeremy Benoist
parent 8197f08266
commit 86c1751186
3 changed files with 3 additions and 4 deletions

View File

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