Skip to content
Snippets Groups Projects
Unverified Commit 7c1d9647 authored by Ngoc Khuat's avatar Ngoc Khuat Committed by GitHub
Browse files

defendpoint without redefine routes (#34513)

parent c4812b4a
No related merge requests found
......@@ -331,9 +331,9 @@
(defn- namespace->api-route-fns
"Return a sequence of all API endpoint functions defined by `defendpoint` in a namespace."
[nmspace]
(for [[symb varr] (ns-publics nmspace)
(for [[_symb varr] (ns-publics nmspace)
:when (:is-endpoint? (meta varr))]
symb))
varr))
(defn- api-routes-docstring [nmspace route-fns middleware]
(str
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment