aboutsummaryrefslogtreecommitdiff
path: root/src/endpoint.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/endpoint.lisp')
-rw-r--r--src/endpoint.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/endpoint.lisp b/src/endpoint.lisp
index 9064c9f..4f44a41 100644
--- a/src/endpoint.lisp
+++ b/src/endpoint.lisp
@@ -141,6 +141,10 @@ endpoints are dispatching on which routes and methods.")
(terpri)
(princ doc)))))
+(defun print-all-route-documentation (&key (stream *standard-output*))
+ (loop :for class :being :the :hash-keys :of *endpoint-registry*
+ :do (print-route-documentation class :stream stream)
+ (terpri stream)))
;;; BODY PARSER REGISTRATION