Skip to content

Conversation

ikitommi
Copy link
Member

Support :- in the :query, :body and :headers, e.g. the following are equivalent:

(POST "/user" []
  :return User
  :body [user User]
  (ok user))

(POST "/user" []
  :return User
  :body [user :- User]
  (ok user))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant