From e791efb22014a6dc67c4fbc7187f61284fe4d133 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 1 Mar 2022 15:33:27 -0600 Subject: elaborated a doc string. api version matches asdf version --- src/main.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.lisp b/src/main.lisp index b6e0e3c..b143d60 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -376,7 +376,7 @@ started, this will allow remote live debugging of the system. (lzb:provision-app () :title "Oneliners Wiki API" - :version "0.0.1" + :version "0.2.0" :prefix "/api" :desc +oneliners-description+ :content-type "application/json" @@ -631,7 +631,9 @@ contributor for making edits or adding new oneliners." (current a-string) (token an-api-token)) (:auth t) - "Change a contributor's password." + "Change a contributor's password. CURRENT is the current +password. VALUE is the new password. REPEATED must match VALUE. TOKEN +is an API Access token." (unless (or (eq who (api-contributor token)) (adminp (api-contributor token))) (http-err 403 "Cannot change that password.")) -- cgit v1.2.3