This commit is contained in:
Tommi Reiman 2018-07-30 11:09:03 +03:00
parent 2c476177be
commit e879df54da
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@
(-get-options [_] opts)
(-get-apidocs [this spesification {:keys [parameters responses]}]
;; TODO: this looks identical to spec, refactor when schema is done.
(condp = spesification
(case spesification
:swagger (swagger/swagger-spec
(merge
(if parameters

View file

@ -87,7 +87,7 @@
(-get-name [_] :spec)
(-get-options [_] opts)
(-get-apidocs [this spesification {:keys [parameters responses]}]
(condp = spesification
(case spesification
:swagger (swagger/swagger-spec
(merge
(if parameters