servant-kotlin

Automatically derive Kotlin class to query servant webservices

https://github.com/matsubara0507/servant-kotlin#readme

Version on this page:0.1.1.1
LTS Haskell 14.27:0.1.1.9
Stackage Nightly 2019-09-21:0.1.1.9
Latest on Hackage:0.1.1.9

See all snapshots servant-kotlin appears in

MIT licensed and maintained by MATSUBARA Nobutada
This version can be pinned in stack with:servant-kotlin-0.1.1.1@sha256:0d700ae23ce1fe9c1a94821de1e586670e8143f9692bc9ea1e9b189e9dc105cc,2806

Module documentation for 0.1.1.1

  • Servant
    • Servant.Kotlin
      • Servant.Kotlin.Internal
        • Servant.Kotlin.Internal.File
        • Servant.Kotlin.Internal.Foreign
        • Servant.Kotlin.Internal.Generate
      • Servant.Kotlin.Type

Servant Kotlin

Hackage Build Status Stackage LTS Stackage Nightly

Generate Kotlin class to query your Servant API!

Example

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

Acknowledgement

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