From 58af2b00cb5f8bc5d37bc6e1e4835531c3fdb1f4 Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Thu, 18 Oct 2018 11:32:42 +0200 Subject: [PATCH] fix api doc --- .../java/com/sismics/docs/rest/resource/FileResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java index 53ffc18c..e972d197 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java @@ -377,7 +377,7 @@ public class FileResource extends BaseResource { /** * Returns files linked to a document or not linked to any document. * - * @api {post} /file/list Get files + * @api {get} /file/list Get files * @apiName GetFileList * @apiGroup File * @apiParam {String} id Document ID @@ -507,7 +507,7 @@ public class FileResource extends BaseResource { /** * Returns a file. * - * @api {delete} /file/:id/data Get a file data + * @api {get} /file/:id/data Get a file data * @apiName GetFile * @apiGroup File * @apiParam {String} id File ID