diff options
author | filip <“filip.rabiega@gmail.com”> | 2024-08-16 14:11:00 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2024-08-16 14:11:00 +0200 |
commit | 69de932f9116b30adfd689d38e35ace63aef0e2d (patch) | |
tree | f7e8621889d313e70186ef255fcf04fe0d55d4c3 /api/routes.ml | |
parent | 2e893fd0df7dae8c4ae843d4a23acb098dd97aff (diff) | |
download | chadprover-69de932f9116b30adfd689d38e35ace63aef0e2d.tar.gz chadprover-69de932f9116b30adfd689d38e35ace63aef0e2d.tar.bz2 chadprover-69de932f9116b30adfd689d38e35ace63aef0e2d.zip |
Diffstat (limited to 'api/routes.ml')
-rw-r--r-- | api/routes.ml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/routes.ml b/api/routes.ml new file mode 100644 index 0000000..74b78ae --- /dev/null +++ b/api/routes.ml @@ -0,0 +1,21 @@ +(* Define the routes for our api *) + +open Handlers + +let routes = [ + + Dream.get "/health" + health_endpoint; + + Dream.post "/validate_formula" + validate_formula_endpoint; + + Dream.post "/satisfy" + satisfy_endpoint; + + Dream.post "/sequent_proof" + sequent_proof_endpoint; + + (* /tableau_calculus_proof *) + +] |