From b4f804d39b671c13e9b11ec1728e5d7e9fc0e189 Mon Sep 17 00:00:00 2001 From: blek Date: Mon, 11 Dec 2023 09:58:49 +1000 Subject: [PATCH] add file password to /api/files/upload swagger spec --- filed/docs/file_api.swagger.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filed/docs/file_api.swagger.yml b/filed/docs/file_api.swagger.yml index 8f0818d..36311fc 100644 --- a/filed/docs/file_api.swagger.yml +++ b/filed/docs/file_api.swagger.yml @@ -125,6 +125,9 @@ paths: name: type: string description: Optional name of the file so it would be accessible like file.blek.codes/uploads/{name} + pass: + type: string + description: Optional password protection for the file responses: 200: description: File uploaded successfully