@@ -57,6 +57,9 @@ instance ToSchema Word64 where toSchema = toSchemaBoundedIntegral
57instance ToSchema Double where
57instance ToSchema Double where
58 toSchema _ = mempty { _schemaType = SchemaNumber }
58 toSchema _ = mempty { _schemaType = SchemaNumber }
60+instance ToSchema Float where
61+ toSchema _ = mempty { _schemaType = SchemaNumber }
60instance ToSchema a => ToSchema (Maybe a) where
63instance ToSchema a => ToSchema (Maybe a) where
61 toSchema _ = toSchema (Proxy :: Proxy a)
64 toSchema _ = toSchema (Proxy :: Proxy a)