mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
refactor: remove commented-out code
This commit is contained in:
parent
11f47527f1
commit
bbaf4b27f7
1 changed files with 0 additions and 2 deletions
|
|
@ -90,14 +90,12 @@
|
|||
:x-id ids}))
|
||||
accept-route (fn [route]
|
||||
(-> route second :openapi :id (or ::default) (trie/into-set) (set/intersection ids) seq))
|
||||
;base-openapi-spec {:responses ^:displace {:default {:description ""}}}
|
||||
transform-endpoint (fn [[method {{:keys [coercion no-doc openapi] :as data} :data
|
||||
middleware :middleware
|
||||
interceptors :interceptors}]]
|
||||
(if (and data (not no-doc))
|
||||
[method
|
||||
(meta-merge
|
||||
#_base-openapi-spec
|
||||
(apply meta-merge (keep (comp :openapi :data) middleware))
|
||||
(apply meta-merge (keep (comp :openapi :data) interceptors))
|
||||
(if coercion
|
||||
|
|
|
|||
Loading…
Reference in a new issue