An SBT 1.x+ plugin for adding clients and servers generated by guardrail to your service.
resolvers += Resolver.bintrayRepo("twilio", "releases")
addSbtPlugin("com.twilio" % "sbt-guardrail" % "0.34.0")
/* Available arguments:
specPath: java.io.File
pkg: String
dto: String
framework: String
tracing: Boolean
*/
guardrailTasks in Compile := List(
Client(file("petstore.yaml")),
Client(file("github.yaml"), pkg="com.example.clients.github")
Server(file("myserver.yaml"), pkg="com.example.server", tracing=true)
)