Skip to content

Instantly share code, notes, and snippets.

@adamw
Created May 4, 2019 12:44
Show Gist options
  • Save adamw/c791c73f405d4b93843e30f62f4b56b3 to your computer and use it in GitHub Desktop.
Save adamw/c791c73f405d4b93843e30f62f4b56b3 to your computer and use it in GitHub Desktop.
import tapir.docs.openapi._
import tapir.openapi.circe.yaml._
import tapir.openapi.OpenAPI
val openApi: OpenAPI = List(getBooks, getBookCover, addBook)
.toOpenAPI("The tapir library", "0.29.192-beta-RC1")
val yml: String = openApi.toYaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment