Skip to content

Commit

Permalink
Add Monoid instances for Header and Example
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Dec 28, 2015
1 parent 1a35138 commit ff6e2be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Data/Swagger/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,10 @@ instance Monoid ParamOtherSchema where
mempty = genericMempty
mappend = genericMappend

instance Monoid Header where
mempty = genericMempty
mappend = genericMappend

instance Monoid Responses where
mempty = genericMempty
mappend = genericMappend
Expand All @@ -752,6 +756,10 @@ instance Monoid Operation where
mempty = genericMempty
mappend = genericMappend

instance Monoid Example where
mempty = genericMempty
mappend = genericMappend

-- =======================================================================
-- SwaggerMonoid helper instances
-- =======================================================================
Expand Down

0 comments on commit ff6e2be

Please sign in to comment.