mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Merge pull request #444 from dawran6/376-route-data-spec-for-conflicting
Add :conflicting to route data spec
This commit is contained in:
commit
c3df762b48
1 changed files with 3 additions and 1 deletions
|
|
@ -40,7 +40,9 @@
|
|||
(s/def ::name keyword?)
|
||||
(s/def ::handler fn?)
|
||||
(s/def ::no-doc boolean?)
|
||||
(s/def ::default-data (s/keys :opt-un [::name ::handler ::no-doc]))
|
||||
(s/def ::conflicting boolean?)
|
||||
(s/def ::default-data
|
||||
(s/keys :opt-un [::name ::handler ::no-doc ::conflicting]))
|
||||
|
||||
;;
|
||||
;; router
|
||||
|
|
|
|||
Loading…
Reference in a new issue