Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matsubara0507/servant-kotlin
Automatically derive Kotlin functions to query servant webservices
https://github.com/matsubara0507/servant-kotlin
haskell haskell-library haskell-servant kotlin servant-client
Last synced: about 1 month ago
JSON representation
Automatically derive Kotlin functions to query servant webservices
- Host: GitHub
- URL: https://github.com/matsubara0507/servant-kotlin
- Owner: matsubara0507
- License: mit
- Created: 2017-10-17T15:31:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T12:28:20.000Z (over 5 years ago)
- Last Synced: 2024-11-01T18:51:50.309Z (about 2 months ago)
- Topics: haskell, haskell-library, haskell-servant, kotlin, servant-client
- Language: Haskell
- Size: 63.5 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Servant Kotlin
[![Hackage](https://img.shields.io/hackage/v/servant-kotlin.svg?style=flat)](https://hackage.haskell.org/package/servant-kotlin)
[![Build Status](https://travis-ci.org/matsubara0507/servant-kotlin.svg?branch=master)](https://travis-ci.org/matsubara0507/servant-kotlin)
[![Stackage LTS](http://stackage.org/package/servant-kotlin/badge/lts)](http://stackage.org/lts/package/servant-kotlin)
[![Stackage Nightly](http://stackage.org/package/servant-kotlin/badge/nightly)](http://stackage.org/nightly/package/servant-kotlin)Generate Kotlin class to query your Servant API!
## Example
see [`example/Generater.hs`](/example/Generater.hs).
this file generate [`TodoAPI.kt`](/example/com/github/matsubara0507/TodoAPI.kt).
## dependencies for Kotlin
- [kittinunf/Fuel](https://github.com/kittinunf/Fuel): The easiest HTTP networking library for Kotlin/Android
- [google/gson](https://github.com/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`](https://hackage.haskell.org/package/elm-export) and [`servant-elm`](https://hackage.haskell.org/package/servant-elm).