@@ -721,7 +721,6 @@ deriveJSONDefault ''Scheme
721721deriveJSON' ''Tag
722722deriveJSON' ''ExternalDocs
723723
724−deriveToJSON' ''ParamSchema
725724deriveToJSON' ''Operation
726725deriveToJSON' ''Response
727726deriveToJSON' ''PathItem
@@ -833,6 +832,9 @@ instance ToJSON (CollectionFormat t) where
833832 toJSON CollectionPipes = "pipes"
834833 toJSON CollectionMulti = "multi"
835834
835+instance ToJSON i => ToJSON (ParamSchema t i) where
836+ toJSON = genericToJSON (jsonPrefix "paramSchema")
837+
836838-- =======================================================================
837839-- Manual FromJSON instances
838840-- =======================================================================