Skip to content

Commit

Permalink
Merge pull request #19 from fukamachi/avoid-response-validate-unknown…
Browse files Browse the repository at this point in the history
…-behavior

Fix response-validate
  • Loading branch information
cxxxr committed Feb 3, 2020
2 parents ad5967b + 55f7f3e commit 39670ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/classes/response/encode.lisp
Expand Up @@ -109,7 +109,9 @@
(media-type-schema media-type))
t)))
(handler-case
(encode-data data schema content-type)
(progn
;; (encode-data data schema content-type)
(validate-data data schema))
(body-encode-error (e)
(error 'response-validation-failed
:value data
Expand Down

0 comments on commit 39670ea

Please sign in to comment.