mirror of
https://github.com/scarf-sh/tie.git
synced 2024-11-26 12:46:37 +03:00
Tie allows generation of Haskell server stubs from OpenAPI (v 3.x) specifications.
.github/workflows | ||
bin | ||
src | ||
test | ||
.gitignore | ||
cabal.project | ||
CHANGELOG.md | ||
default.nix | ||
LICENSE | ||
README.md | ||
Request.template.hs | ||
Response.template.hs | ||
scarf-api.yaml | ||
shell.nix | ||
tie.cabal |
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.