mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-14 19:05:27 +00:00
16 lines
332 B
Haskell
16 lines
332 B
Haskell
module Main where
|
|
|
|
import Simplex.Messaging.ServerAPI
|
|
import Servant
|
|
import Servant.Docs
|
|
|
|
apiDocs :: API
|
|
apiDocs = docsWith
|
|
defaultDocOptions
|
|
[serverApiIntro]
|
|
serverApiExtra
|
|
(Proxy :: Proxy ServerAPI)
|
|
|
|
main :: IO ()
|
|
main = (writeFile "../simplex-messaging-api.md" . markdown) apiDocs
|