mirror of
https://github.com/metosin/reitit.git
synced 2026-01-28 17:00:34 +00:00
.
This commit is contained in:
parent
bd7577a949
commit
c50d95ec3e
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@
|
||||||
(into
|
(into
|
||||||
(empty responses)
|
(empty responses)
|
||||||
(for [[k response] responses]
|
(for [[k response] responses]
|
||||||
[k (update response :schema #(coercion/-compile-model this % nil))])))))
|
[k (update response :body #(coercion/-compile-model this % nil))])))))
|
||||||
(-compile-model [_ model name]
|
(-compile-model [_ model name]
|
||||||
(into-spec model (or name (gensym "spec"))))
|
(into-spec model (or name (gensym "spec"))))
|
||||||
(-open-model [_ spec] spec)
|
(-open-model [_ spec] spec)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue