@@ -76,15 +76,15 @@ rename name (_, schema) = (name, schema)
7676-- data Coord = Coord { x :: Double, y :: Double }
7777--
7878-- instance ToSchema Coord where
79−-- declareNamedSchema = pure (Just "Coord", schema)
79+-- declareNamedSchema = pure (Just \"Coord\", schema)
8080-- where
8181-- schema = mempty
8282-- & schemaType .~ SwaggerObject
8383-- & schemaProperties .~
84−-- [ ("x", toSchemaRef (Proxy :: Proxy Double))
85−-- , ("y", toSchemaRef (Proxy :: Proxy Double))
84+-- [ (\"x\", toSchemaRef (Proxy :: Proxy Double))
85+-- , (\"y\", toSchemaRef (Proxy :: Proxy Double))
8686-- ]
87−-- & schemaRequired .~ [ "x", "y" ]
87+-- & schemaRequired .~ [ \"x\", \"y\" ]
8888-- @
8989--
9090-- Instead of manually writing your @'ToSchema'@ instance you can