Tie allows generation of Haskell server stubs from OpenAPI (v 3.x) specifications.
Go to file
2022-06-13 11:19:06 +02:00
.github/workflows CI: Test with ghc-9.2.3 2022-06-12 14:58:07 +02:00
bin x-tie-haskell-type extension 2022-03-24 17:29:49 +01:00
src Move Response.hs file to template file 2022-06-13 11:19:06 +02:00
test Move Response.hs file to template file 2022-06-13 11:19:06 +02:00
.gitignore Group methods by path 2022-02-15 13:58:22 +01:00
cabal.project Use Relude from Hackage again 2022-06-12 14:58:07 +02:00
CHANGELOG.md Initial commit 2022-02-15 11:01:21 +01:00
default.nix deveplopment nix shell 2022-02-26 22:49:03 -05:00
LICENSE Cabal file updates 2022-06-12 14:58:07 +02:00
README.md Update README.md 2022-06-12 18:13:04 +02:00
Request.template.hs Fix request substitution marker 2022-03-09 14:21:59 +01:00
Response.template.hs Move Response.hs file to template file 2022-06-13 11:19:06 +02:00
scarf-api.yaml Add petstore golden test 2022-02-22 10:34:38 +01:00
shell.nix deveplopment nix shell 2022-02-26 22:49:03 -05:00
tie.cabal Move Response.hs file to template file 2022-06-13 11:19:06 +02:00

Tie

Tie allows generation of Haskell server stubs from OpenAPI (v 3.x) specifications.

If you are looking for a generator for Haskell client code, check out the Haskell-OpenAPI-Client-Code-Generator project.

Building Tie

Below are the steps to install Tie using the Cabal build tool.

First, you need to clone the repository

$ git clone https://github.com/scarf-sh/tie.git
$ cd tie

Then, you need to build it using cabal:

$ cabal build exe:tie

Finally, you can copy the resulting executable to your desired location:

$ cp $(cabal exec -- which tie) ~/.local/bin/tie

Alternatively, instead of manually copying the executable you can install with cabal:

$ cabal install .

Community & Contact

Feel free to join on us on our community Slack (#tie channel)!

License

This program is under the terms of the Apache License v2.0.

Authors

Tie is originally made and currently sponsored by Scarf among other contributors.