HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Package2.1.0.0WebServantSwagger

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

14 packages

Used by in this set · 0

Nothing in this set depends on it.