servant -package:servant-server
A family of combinators for defining webservices APIs
A family of combinators for defining webservices APIs and serving them
. You can learn about the basics in the
tutorial. .
CHANGELOG
Some helper functions for creating values in
lucid DSLs that
work with
servant.
Export all of instances for the Client, Docs, and Server.
Core functionality and class for client function generation for servant APIs
This library provides backend-agnostic generation of client functions.
For more information, see the README.
generate API docs for your servant webservice
Library for generating API docs from a servant API definition.
Runnable example
here.
CHANGELOG
Blaze-html support for servant
Servant support for blaze-html
HTML content type which will use
ToMarkup class.
Authentication combinators for servant
This package provides an
Auth combinator for
servant.
This combinator allows using different authentication schemes in a
straightforward way, and possibly in conjunction with one another.
'servant-auth' additionally provides concrete authentication schemes,
such as Basic Access Authentication, JSON Web Tokens, and Cookies.
For more details on how to use this, see the
README.
Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API.
Swagger is a project used to describe and document RESTful APIs. The
core of the project is the
OpenAPI Specification (OAS). This
library implements v2.0 of the spec. Unlike Servant it is
language-agnostic and thus is quite popular among developers in
different languages. It has also existed for a longer time and has
more helpful tooling.
This package provides means to generate a Swagger/OAS specification
for a Servant API and also to partially test whether an API conforms
with its specification.
Generated Swagger specification then can be used for many things such
as
Helpers for generating clients for servant APIs in any programming language
Helper types and functions for generating client functions for servant
APIs in any programming language
This package provides types and functions that collect all the data
needed to generate client functions in the programming language of
your choice. This effectively means you only have to write the code
that "pretty-prints" this data as some code in your target language.
See the servant-js package for an example
CHANGELOG
multipart/form-data (e.g file upload) support for servant
This package adds server-side support of file upload to the servant
ecosystem.
Servant support for lucid
Servant support for lucid.
HTML content type which will use
ToHtml class.
Lucid.Servant uses
Link rather than
Text for safe
href attributes.
multipart/form-data (e.g file upload) support for servant
This package contains servant API types that support multiform upload,
used by servant-multipart and servant-multipart-client for
backend/client implementation.
servant-docs/servant-auth compatibility
This package provides instances that allow generating docs from
servant APIs that use
servant-auth's Auth
combinator.
For a quick overview of the usage, see the
README.
Generate a Swagger/OpenAPI/OAS 3.0 specification for your servant API.
Swagger is a project used to describe and document RESTful APIs. The
core of the project is the
OpenAPI Specification (OAS). This
library implements v3.0 of the spec. Unlike Servant it is
language-agnostic and thus is quite popular among developers in
different languages. It has also existed for a longer time and has
more helpful tooling.
This package provides means to generate a Swagger/OAS specification
for a Servant API and also to partially test whether an API conforms
with its specification.
Generated Swagger specification then can be used for many things such
as
servant-client/servant-auth compatibility
This package provides instances that allow generating clients from
servant APIs that use
servant-auth's Auth
combinator.
For a quick overview of the usage, see the
README.
This package provides the required instances for using the
Auth combinator in your
servant server.
Both cookie- and token- (REST API) based authentication is provided.
For a quick overview of the usage, see the
README.
multipart/form-data (e.g file upload) support for servant
This package adds client-side support for file upload to the servant
ecosystem.
Not on Stackage, so not searched.
Servant based API for token based authorisation
Servant swagger ui core components
Provide embedded swagger UI for servant and swagger (i.e.
servant-swagger)
See servant-swagger-ui, servant-swagger-ui-jensoleg or
servant-swagger-ui-redoc for "concrete" implementations.
Not on Stackage, so not searched.
Servant based API and server for token based authorisation
Embed a raw 'Application' in a Servant API
Please see
README.md.
After
servant-rawm 1.0.0.0, the implementation are divided
into three packages:
servant-rawm-server,
servant-rawm-client, and
servant-rawm-docs.
You need to use either of the three implementations for the
RawM endpoint to function correctly.