guardrail
guardrail copied to clipboard
Principled code generation from OpenAPI specifications
guardrail
|
|
| 
guardrail is a code generation tool, capable of reading from OpenAPI/Swagger specification files and generating both Scala and Java source code, targeting various libraries and frameworks listed here:
- Scala:
akka-httpandhttp4s, both backed bycirce, as well asdropwizardbacked byjackson - Java:
dropwizardandspring-mvc, both backed byjackson
Build tool plugins
| Plugins | versions | docs |
|---|---|---|
guardrail-dev/sbt-guardrail |
docs | |
guardrail-dev/guardrail-maven-plugin |
docs | |
guardrail-dev/guardrail-gradle-plugin |
guardrail-gradle-plugin |
Plugin Portal |
| CLI support | Latest | cs install guardrail, docs |
New to guardrail?
Check out the docs!
Compatible library versions are listed in COMPATIBILITY.md
guardrail module versions
guardrail is modularized, using sbt-version-policy to ensure binary compatibility between dependent modules.
The dependency chain and versions of published modules are listed below for reference:
Interested in contributing?
CONTRIBUTING.md provides an overview of how the project is structured, expectations, and information around writing new integration tests.
The issue tracker also has tags for help wanted and good first issue.
Adopters
Contributors
We used to have a list of contributors here, but github's Contributors page is much more accurate. Thanks to those who contributed before the project was open sourced!