aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/lazybones-test-docs.md4
-rw-r--r--lazybones-documentation.lisp1
2 files changed, 5 insertions, 0 deletions
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)