Skip to content
juspayPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

3 watching

Forks

Repository files navigation

Smithy Smithy Haskell

Smithy code generators for Haskell.

Setup

This projects dev environment is setup with nix. To get started just run nix develop & you will get all the tooling required to build & test the project.

Building

The build (gradle build) task runs smithy-build as part of the build process. So once the codegen plugin is compiled, it will automatically run the plugin & generate code from a smithy model meant for testing. You can take a look at the client-codegen-test module.

Testing

Run cabal test in hs-it, this will test the generated-client for the modeled service.

Trying out the plugin

As of right now, the plugin hasn't been published anywhere. So if you wish to try it out with your own smithy model, you will have to publish it yourself. Just run gradle publish, this will create a maven package to client-codegen/build/m2. To refer to this plugin when using the command line see: https://smithy.io/2.0/guides/smithy-build-json.html#smithy-maven-repos-environment-variable

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages