mirror of
https://github.com/ilyakooo0/deriving-openapi3.git
synced 2024-09-11 10:25:55 +03:00
commit
526a8fded6
@ -47,10 +47,6 @@ import Deriving.Aeson
|
|||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
import GHC.TypeLits
|
import GHC.TypeLits
|
||||||
|
|
||||||
-- $setup
|
|
||||||
-- >>> import qualified Data.Yaml
|
|
||||||
-- >>> import qualified Data.ByteString.Char8
|
|
||||||
|
|
||||||
#ifdef SERVANT_DESCRIPTION
|
#ifdef SERVANT_DESCRIPTION
|
||||||
|
|
||||||
import Servant.API
|
import Servant.API
|
||||||
@ -68,6 +64,10 @@ toTextLine = "\n\n" <> T.pack (symbolVal (Proxy @s))
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
-- $setup
|
||||||
|
-- >>> import qualified Data.Yaml
|
||||||
|
-- >>> import qualified Data.ByteString.Char8
|
||||||
|
|
||||||
type CustomOpenApi = CustomJSON
|
type CustomOpenApi = CustomJSON
|
||||||
|
|
||||||
instance
|
instance
|
||||||
|
Loading…
Reference in New Issue
Block a user