Skip to content

Schema-like lets#361

Open
ikitommi wants to merge 1 commit intomasterfrom
SchemaLikeLets
Open

Schema-like lets#361
ikitommi wants to merge 1 commit intomasterfrom
SchemaLikeLets

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