Skip to content

Commit

Permalink
update response example
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed May 19, 2015
1 parent 83111ee commit 0f0db45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compojure/api/meta.clj
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
; parameters and return schema coercion. Schemas can be decorated with meta-data.
; Examples:
; :responses {403 ErrorEnvelope}
; :responses {403 ^{:message \"Underflow\"} ErrorEnvelope}
; :responses {403 (with-meta ErrorEnvelope {:message \"Underflow\"}}
(defmethod restructure-param :responses [_ responses acc]
(let [messages (convert-responses responses)]
(-> acc
Expand Down

0 comments on commit 0f0db45

Please sign in to comment.