HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package2.0.1.6WebServantSwagger

servant-openapi3

Generate a Swagger/OpenAPI/OAS 3.0 specification for your servant API.

Modules

10 modules
Internal modules · 7

Description

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

displaying interactive documentation using Swagger UI; generating clients and servers in many languages using Swagger Codegen; and many others.

Depends on

15 packages

Used by in this set · 0

Nothing in this set depends on it.