Skip to content

Instantly share code, notes, and snippets.

@adamw
Created June 7, 2019 19:20
Show Gist options
  • Save adamw/4a11d523e885633fa7a50d9ab5f4e8f1 to your computer and use it in GitHub Desktop.
Save adamw/4a11d523e885633fa7a50d9ab5f4e8f1 to your computer and use it in GitHub Desktop.
import tapir.docs.openapi._
import tapir.openapi.circe.yaml._
val yaml = List(petEndpoint).toOpenAPI("Our pets", "1.0").toYaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment