Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Apr 22, 2024
1 parent 9adc55c commit 649cfa9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/compojure/api/meta.clj
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,12 @@
(and (seq? form)
(symbol? (first form))
(when-some [v (resolve-var &env (first form))]
(when (#{"spec-tools.data-spec"
"spec-tools.core"}
(namespace (symbol v)))
(when (or (#{"spec-tools.data-spec"
"spec-tools.core"}
(namespace (symbol v)))
('#{compojure.api.sweet/describe
ring.swagger.json-schema/describe}
(symbol v)))
(when-not (:macro (meta v))
(every? #(static-form? &env %) (next form))))))))

Expand Down

0 comments on commit 649cfa9

Please sign in to comment.