From b4af1527f1a6070adc90e5dd03fc694f5567e275 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 20 Oct 2024 07:54:00 -0700 Subject: More tweaks to API doc generation --- src/endpoint.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/endpoint.lisp b/src/endpoint.lisp index 2d70aea..cb71658 100644 --- a/src/endpoint.lisp +++ b/src/endpoint.lisp @@ -134,10 +134,10 @@ endpoints are dispatching on which routes and methods.") :for initarg := (first (mop:slot-definition-initargs slotdef)) :for route-pos := (position initarg extractors :key #'extractor-arg) :when initarg - :do (format stream "~10@a : ~10a ~a~a~%" ;;"~10@a : ~a ~a~%" + :do (format stream "~10@a : ~10a ~a~a~%" initarg (or (mop:slot-definition-type slotdef) t) - (documentation slotdef t) + (or (documentation slotdef t) "") (if route-pos (format nil "(~:r in route)" (1+ route-pos)) "")))) -- cgit v1.2.3