diff options
author | Colin Okay <okay@toyful.space> | 2022-02-12 14:01:33 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-02-12 14:01:33 -0600 |
commit | ecd5f5f561f591eddd597ebd2aafa42ada632b96 (patch) | |
tree | a319fefef93ca48cb203d35fc8fdd164e922af9a | |
parent | 7205543e2398f893854c911806cdaf0ad9976906 (diff) |
tweaking doc generation
-rw-r--r-- | example/lazybones-test-docs.md | 4 | ||||
-rw-r--r-- | lazybones-documentation.lisp | 1 |
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) |