{"action":"created","issue":{"url":"https://api.github.com/repos/metosin/compojure-api/issues/189","labels_url":"https://api.github.com/repos/metosin/compojure-api/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/metosin/compojure-api/issues/189/comments","events_url":"https://api.github.com/repos/metosin/compojure-api/issues/189/events","html_url":"https://github.com/metosin/compojure-api/issues/189","id":123991372,"number":189,"title":"Specifying the :headers keyword in :responses","user":{"login":"rahulmutt","id":8035100,"avatar_url":"https://avatars.githubusercontent.com/u/8035100?v=3","gravatar_id":"","url":"https://api.github.com/users/rahulmutt","html_url":"https://github.com/rahulmutt","followers_url":"https://api.github.com/users/rahulmutt/followers","following_url":"https://api.github.com/users/rahulmutt/following{/other_user}","gists_url":"https://api.github.com/users/rahulmutt/gists{/gist_id}","starred_url":"https://api.github.com/users/rahulmutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahulmutt/subscriptions","organizations_url":"https://api.github.com/users/rahulmutt/orgs","repos_url":"https://api.github.com/users/rahulmutt/repos","events_url":"https://api.github.com/users/rahulmutt/events{/privacy}","received_events_url":"https://api.github.com/users/rahulmutt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-27T18:36:31Z","updated_at":"2015-12-27T21:27:16Z","closed_at":null,"body":"I've tried vectors, maps, and plains strings for the values of the :headers keyword inside of the value of the status code in the map of :responses and I'm getting \"unexpected exceptions\" regardless of what I try. Basically, I want to document that I'm returning a header from one of my API calls."},"comment":{"url":"https://api.github.com/repos/metosin/compojure-api/issues/comments/167442518","html_url":"https://github.com/metosin/compojure-api/issues/189#issuecomment-167442518","issue_url":"https://api.github.com/repos/metosin/compojure-api/issues/189","id":167442518,"user":{"login":"Deraen","id":648087,"avatar_url":"https://avatars.githubusercontent.com/u/648087?v=3","gravatar_id":"","url":"https://api.github.com/users/Deraen","html_url":"https://github.com/Deraen","followers_url":"https://api.github.com/users/Deraen/followers","following_url":"https://api.github.com/users/Deraen/following{/other_user}","gists_url":"https://api.github.com/users/Deraen/gists{/gist_id}","starred_url":"https://api.github.com/users/Deraen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deraen/subscriptions","organizations_url":"https://api.github.com/users/Deraen/orgs","repos_url":"https://api.github.com/users/Deraen/repos","events_url":"https://api.github.com/users/Deraen/events{/privacy}","received_events_url":"https://api.github.com/users/Deraen/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T21:27:16Z","updated_at":"2015-12-27T21:27:16Z","body":"Hmm, never tried this but I guess it should work as `:responses` is passed nearly as is to Swagger. Could you provide some example code?"}}