Skip to content

Instantly share code, notes, and snippets.

@adamw
Last active May 7, 2019 19:38
Show Gist options
  • Save adamw/780112625e907b74ee697361d774375e to your computer and use it in GitHub Desktop.
Save adamw/780112625e907b74ee697361d774375e to your computer and use it in GitHub Desktop.
val getBooks: Endpoint[BooksQuery, (StatusCode, ErrorInfo), List[Book], Nothing] =
baseEndpoint
.get
.in("books")
.in(booksQueryInput)
.out(jsonBody[List[Book]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment