Automatically derive Kotlin class to query servant webservices

Latest on Hackage:

See all snapshots servant-kotlin appears in

MIT licensed and maintained by MATSUBARA Nobutada

Module documentation for

This version can be pinned in stack with:[email protected]:5e943ed4fc620fc3186142294c690e0060e5b36a8eaa2264b64d6f07f7bd6842,2804

Servant Kotlin

Hackage Build Status Stackage LTS Stackage Nightly

Generate Kotlin class to query your Servant API!


see example/Generater.hs.

this file generate TodoAPI.kt.

dependencies for Kotlin

  • kittinunf/Fuel: The easiest HTTP networking library for Kotlin/Android
  • google/gson: A Java serialization/deserialization library to convert Java Objects into JSON and back

not yet, no Implements

  • [ ] Original QueryFlag
  • [ ] Original Header


This package is greatly inspired by elm-export and servant-elm.