From c48361bb23ec21c672096104d6885c87f5ecbef6 Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 11 May 2024 13:10:04 -0700 Subject: Update: README. Add: print-all-route-documentation --- src/endpoint.lisp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/endpoint.lisp') 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 -- cgit v1.2.3