mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 21:33:47 +00:00
Different approach to commands (#34)
* different approach to command types (WIP) * PartyProtocol class and other commands * pretty-print scenarion * remove old files * remove unused prf/predicate templates * remove NoImplicitePrelude from doctest (although there are no doctests atm)
This commit is contained in:
1 parent
dc7835992c
commit
cc55bf3e6b
16 files changed
+525
-976
No files matched your search
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in new issue
Block a user