servant-openapi-hs: Generate an OpenAPI 3.1 specification for your servant API.
OpenAPI is a language-agnostic format
for describing and documenting HTTP APIs in JSON or YAML. This library
generates an OpenAPI 3.1 specification from a Servant API and can partially
test whether an API conforms with its specification.
.
A generated specification can be used for many things, such as
.
* displaying interactive documentation in any OpenAPI 3.1 viewer;
.
* generating clients and servers in many languages using OpenAPI Generator;
.
* and many others across the OpenAPI tooling ecosystem.
.
This package is a fork of
servant-openapi3 that targets
OpenAPI 3.1 via openapi-hs.
[Skip to Readme]
Downloads
- servant-openapi-hs-4.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 4.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.0.1.0 && <2.3), aeson-pretty (>=0.8.7 && <0.9), base (>=4.21 && <4.23), base-compat (>=0.10.5 && <0.15), bytestring (>=0.10.8.1 && <0.13), hspec (>=2.6.0 && <2.12), http-media (>=0.7.1.3 && <0.9), insert-ordered-containers (>=0.2.1.0 && <0.3), lens (>=4.17 && <5.4), openapi-hs (>=4.0 && <5), QuickCheck (>=2.9 && <2.17), servant (>=0.17 && <0.21), servant-openapi-hs, singleton-bool (>=0.1.4 && <0.2), text (>=1.2.3.0 && <3), unordered-containers (>=0.2.9.0 && <0.3) [details] |
| Tested with | ghc ==9.12.4 || ==9.14.1 |
| License | BSD-3-Clause |
| Copyright | (c) 2015-2020, Servant contributors |
| Author | David Johnson, Nickolay Kudasov, Maxim Koltsov |
| Maintainer | nadeem@gmail.com |
| Uploaded | by shinzui at 2026-06-25T14:42:17Z |
| Category | Web, Servant, OpenApi |
| Home page | https://github.com/shinzui/servant-openapi-hs |
| Bug tracker | https://github.com/shinzui/servant-openapi-hs/issues |
| Source repo | head: git clone https://github.com/shinzui/servant-openapi-hs.git |
| Distributions | |
| Executables | gen-openapi |
| Downloads | 0 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |