• guardrail
  • Getting Started
  • Java
    • Dropwizard
    • Spring-MVC
  • Scala
    • akka-http
    • akka-http-jackson
    • http4s
  • ScalaJS
    • endpoints (client only)
    • Watchers--
    • Stars--

    Table of Contents

    1. What is guardrail
      1. Single Point of Truth
      2. Unexpected API changes are compiler errors
      3. Fewer binary dependencies
    2. Installation
    3. Sample API specification
    4. Generating a Server
      1. Separation of business logic
      2. API structure slip is impossible
      3. Generating test-only (real) server mocks for unit tests
      4. A note about scalatest integration
    5. Generating clients
      1. Separation of protocol-concerns from API-level concerns
    6. guardrail Extensions