Skip to content

Commit

Permalink
Add a default case for BodyTypes (fixes error messages)
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Feb 6, 2016
1 parent 59f1c8c commit aa9d62d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Servant/Swagger/Internal/TypeLevel/API.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@ type family BodyTypes c api :: [*] where
BodyTypes c (ReqBody cs a :> api) = AddBodyType c cs a (BodyTypes c api)
BodyTypes c (e :> api) = BodyTypes c api
BodyTypes c (a :<|> b) = Merge (BodyTypes c a) (BodyTypes c b)
BodyTypes c api = '[]

0 comments on commit aa9d62d

Please sign in to comment.