@@ -784,43 +784,15 @@ instance SwaggerMonoid ParamLocation where
784 swaggerMempty = ParamQuery
784 swaggerMempty = ParamQuery
785 swaggerMappend _ y = y
785 swaggerMappend _ y = y
787−instance SwaggerMonoid (HashMap Text Schema) where
787+instance SwaggerMonoid (HashMap FilePath PathItem) where
788 swaggerMempty = HashMap.empty
788 swaggerMempty = HashMap.empty
789 swaggerMappend = HashMap.unionWith mappend
789 swaggerMappend = HashMap.unionWith mappend
791−instance SwaggerMonoid (HashMap Text (Referenced Schema)) where
792− swaggerMempty = HashMap.empty
793− swaggerMappend = HashMap.unionWith swaggerMappend
795instance Monoid a => SwaggerMonoid (Referenced a) where
791instance Monoid a => SwaggerMonoid (Referenced a) where
796 swaggerMempty = Inline mempty
792 swaggerMempty = Inline mempty
797 swaggerMappend (Inline x) (Inline y) = Inline (x <> y)
793 swaggerMappend (Inline x) (Inline y) = Inline (x <> y)
798 swaggerMappend _ y = y
794 swaggerMappend _ y = y
800−instance SwaggerMonoid (HashMap Text Param) where
801− swaggerMempty = HashMap.empty
802− swaggerMappend = HashMap.unionWith mappend
804−instance SwaggerMonoid (HashMap Text Response) where
805− swaggerMempty = HashMap.empty
806− swaggerMappend = flip HashMap.union
808−instance SwaggerMonoid (HashMap Text SecurityScheme) where
809− swaggerMempty = HashMap.empty
810− swaggerMappend = flip HashMap.union
812−instance SwaggerMonoid (HashMap FilePath PathItem) where
813− swaggerMempty = HashMap.empty
814− swaggerMappend = HashMap.unionWith mappend
816−instance SwaggerMonoid (HashMap HeaderName Header) where
817− swaggerMempty = HashMap.empty
818− swaggerMappend = flip HashMap.union
820−instance SwaggerMonoid (HashMap HttpStatusCode (Referenced Response)) where
821− swaggerMempty = HashMap.empty
822− swaggerMappend = flip HashMap.union
824instance SwaggerMonoid ParamAnySchema where
796instance SwaggerMonoid ParamAnySchema where
825 swaggerMempty = ParamOther swaggerMempty
797 swaggerMempty = ParamOther swaggerMempty
826 swaggerMappend (ParamBody x) (ParamBody y) = ParamBody (swaggerMappend x y)
798 swaggerMappend (ParamBody x) (ParamBody y) = ParamBody (swaggerMappend x y)