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 649cfa9 commit d6f4906
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/compojure/api/meta.clj
Original file line number Diff line number Diff line change
Expand Up @@ -853,10 +853,13 @@
(symbol? (first form))
(when-some [v (resolve-var &env (first form))]
(when (or (#{"spec-tools.data-spec"
"spec-tools.core"}
"spec-tools.core"
"schema.core"
"ring.util.http-response"}
(namespace (symbol v)))
('#{compojure.api.sweet/describe
ring.swagger.json-schema/describe}
ring.swagger.json-schema/describe
clojure.core/constantly}
(symbol v)))
(when-not (:macro (meta v))
(every? #(static-form? &env %) (next form))))))))
Expand Down

0 comments on commit d6f4906

Please sign in to comment.