Popularity
5.4
Declining
Activity
0.0
Stable
13
2
1
Monthly Downloads: 54
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.2
servant-flatten alternatives and similar packages
Based on the "servant" category.
Alternatively, view servant-flatten alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
servant-elm
Automatically derive Elm functions to query servant webservices -
servant-purescript
Translate servant API to purescript code, with the help of purescript-bridge. -
servant-swagger-ui
Provide embedded swagger UI for servant and swagger -
servant-response
Moved to http://github.com/haskell-servant -
servant-js
Automatically derive javascript functions to query servant webservices. -
servant-router
Servant router for non-server applications. -
servant-auth-cookie
Authentication via encrypted cookies -
servant-aeson-specs
Generically obtain tests for JSON serialization -
servant-github-webhook
Servant combinators for writing secure GitHub webhooks -
servant-cli
Generate a command line client from a servant API -
servant-pagination
Type-safe pagination for Servant APIs -
servant-matrix-param
Matrix parameter combinator for servant -
servant-pandoc
Render a servant API to Pandoc's native representation -
servant-auth-token-leveldb
Servant based API and server for token based authorisation -
servant-auth-token-acid
Servant based API and server for token based authorisation -
servant-mock
Derive a mock server for free from your servant API types -
servant-reason
Automatically derive bindings for Servant APIs in Reason -
servant-jsonrpc
Tools to build JSON-RPC clients and servers the Servant way -
servant-kotlin
Automatically derive Kotlin functions to query servant webservices -
servant-ruby
Create a Ruby client from a Servant API using Net::HTTP. -
servant-match
Standalone implementation of servant’s dispatching mechanism -
servant-http2-client
Generate http2-client from Servant APIs -
servant-options
Provide responses to OPTIONS requests for Servant applications. -
servant-proto-lens
Servant Content-Type for proto-lens protobuf modules. -
servant-haxl-client
automatical derivation of querying functions for servant webservices -
servant-generate
Generate default implementations for servers in a flexible way (a.k.a servant-mock on steroids) -
servant-multipart
multipart/form-data (e.g file upload) support for servant -
servant-jsonrpc-client
Generate JSON-RPC servant clients
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of servant-flatten or a related project?
README
servant-flatten
Utilities for flattening servant API types
The main function from this library is:
flatten :: Proxy api -> Proxy (Flat api)
Its purpose is to "flatten" an API type, by distributing
any factored combinators, so as to end up with completely
flat endpoint descriptions, separated by :<|>
s.
For example, it turns:
type API = Capture "foo" Int :>
( Capture "bar" String :>
( Get '[JSON] String :<|>
ReqBody '[JSON] Int :> Post '[JSON] Int
) :<|>
Get '[JSON] Int
) :<|>
Get '[JSON] [String]
into:
Capture "foo" Int :> Capture "bar" String :> Get '[JSON] String :<|>
Capture "foo" Int :> Capture "bar" String :> ReqBody '[JSON] Int :> Post '[JSON] Int :<|>
Capture "foo" Int :> Get '[JSON] Int :<|>
Get '[JSON] [String]
See the documentation of flatten
in Servant.API.Flatten
for more.