guardrail is available as a modular core, with both sbt and Maven integration. The core can also be run as a stand-alone CLI application, with full support for all features.

If compiling with Scala < 2.13.x, you’ll need to enable -Ypartial-unification:

scalacOptions += "-Ypartial-unification"

If compiling with Scala < 2.12.x, you’ll additionally need the -Xexperimental flag:

scalacOptions += "-Xexperimental"

Prev: What is guardrail? Next: Sample API specification