From 33046c1a1cec3819245f13d960c6072aa73aee65 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 23 Aug 2024 06:43:24 -0700 Subject: Extend language of defendpoint to make it clearer --- src/defendpoint.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/defendpoint.lisp') diff --git a/src/defendpoint.lisp b/src/defendpoint.lisp index 72c536e..23955b5 100644 --- a/src/defendpoint.lisp +++ b/src/defendpoint.lisp @@ -164,7 +164,7 @@ PART is either :if path-part-p :note "REGEX or (KWD REGEX &optional PARSER)") ( - :match (:seq (:= :parameters) (:+ )) + :match (:seq (:or= :parameters :requirements) (:+ )) :then (cons :parameters (second )) :note "Request parameters - will signal an error if missing from the user request") ( @@ -172,7 +172,7 @@ PART is either :if parameter-spec-p :note "(NAME TYPE &optional DOCSTRING)") ( - :match (:seq (:= :properties) (:+ )) + :match (:seq (:or= :properties :state) (:+ )) :then (cons :properties (second )) :note "Values that should be filled-in during authentication or authorization") ( -- cgit v1.2.3