Skip to content
Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

guardrail Build Status | codecov | maven central | Join the chat at

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-http and http4s, both backed by circe, as well as dropwizard backed by jackson
  • Java: dropwizard and spring-mvc, both backed by jackson

New to guardrail?

Check out the docs!

Compatible library versions are listed in

Interested in contributing? 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.

Build tool plugins



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!