| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 01:12:56 GMT
X-Served-By: cache-dfw-kdal2120139-DFW, cache-bom-vanm7210064-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768612376.320823,VS0,VE303
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
openapi-typed: Types for OpenAPI
[Skip to Readme]
openapi-typed: Types for OpenAPI
Please see the README on GitHub at https://github.com/meeshkan/openapi-haskell#readme
[Skip to Readme]
Downloads
- openapi-typed-0.0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.0.0, 0.0.0.1 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson (>=1.4.7 && <1.5), base (>=4.7 && <5), text (>=1.2.4 && <1.3), unordered-containers (>=0.2.10 && <0.3), vector (>=0.12.1 && <0.13) [details] |
| License | BSD-3-Clause |
| Copyright | 2020 Meeshkan Oy |
| Author | Mike Solomon |
| Maintainer | mike@meeshkan.com |
| Uploaded | by mikesol at 2020-04-24T10:50:00Z |
| Category | OpenAPI |
| Home page | https://github.com/meeshkan/openapi-haskell#readme |
| Bug tracker | https://github.com/meeshkan/openapi-haskell/issues |
| Source repo | head: git clone https://github.com/meeshkan/openapi-haskell |
| Distributions | |
| Downloads | 533 total (10 in the last 30 days) |
| Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2020-04-24 [all 1 reports] |
Readme for openapi-typed-0.0.0.1
[back to package description]openapi-typed
Haskell types for OpenAPI 3.0.0. The types follow the following opinonated conventions and deviations from the standards:
- For each OpenAPI object represented as
data, provides the following:- a docstring showing how the constructor works
- a constructor with fields named using the convention
_<data>_field - a derivation of
Eqfor each data class - a derivation of
Showfor each data class - a derivation of
ToJSONfor each data class - a derivation of
FromJSONfor each data class - a getter for each field using the convention
get<data><field>, where the field is capitalized, iegetPathItemSummary - a setter for each field using the convention
set<data><field>, where the field is capitalized, iesetPathItemSummary - an
eitherfunction for all datatypes with multiple construtors that take a single argument using the conventioneither<data><constructor>, ieeitherReferenceOrRef
- Adds the possibility to use
x-extensions on almost all objects, as this happens a lot in the wild. - Changes the
itemstype in shema to accept a tuple in addition to a schema and a reference.
The Hackage package is in openapi-typed. The tests show how to use this library to parse the Slack and Stripe OpenAPI specs.