mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-15 13:20:36 +00:00
18 lines
365 B
Haskell
18 lines
365 B
Haskell
module Main where
|
|
|
|
import Simplex.Messaging.ServerAPI
|
|
|
|
import ClassyPrelude
|
|
import Servant
|
|
import Servant.Docs
|
|
|
|
apiDocs :: API
|
|
apiDocs = docsWith
|
|
defaultDocOptions
|
|
[serverApiIntro]
|
|
serverApiExtra
|
|
(Proxy :: Proxy ServerAPI)
|
|
|
|
main :: IO ()
|
|
main = writeFile "../simplex-messaging-api.md" $ fromString $ markdown apiDocs
|