From ecd5f5f561f591eddd597ebd2aafa42ada632b96 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sat, 12 Feb 2022 14:01:33 -0600 Subject: tweaking doc generation --- example/lazybones-test-docs.md | 4 ++++ lazybones-documentation.lisp | 1 + 2 files changed, 5 insertions(+) diff --git a/example/lazybones-test-docs.md b/example/lazybones-test-docs.md index ab4c2b1..ab153a0 100644 --- a/example/lazybones-test-docs.md +++ b/example/lazybones-test-docs.md @@ -9,6 +9,8 @@ Just an API that defines some endpoints. These ### POST /crapshoot *text/plain* + + Authorization Required: > Randomly decides that the request is authorized @@ -23,6 +25,8 @@ Echos back 'You made it' if the request was authorized Route Variables: - WHO + + Authorization Required: > Request is authorized if it contains the right TESTAPPSESSION diff --git a/lazybones-documentation.lisp b/lazybones-documentation.lisp index 6527f41..5aedaba 100644 --- a/lazybones-documentation.lisp +++ b/lazybones-documentation.lisp @@ -47,6 +47,7 @@ (princ #\newline))) (when authorizer + newline (princ "Authorization Required: ") newline (cond ((function-or-function-name-p authorizer) -- cgit v1.2.3