contractversion Documentation on ocaml.org

Typed HTTP API contracts for OCaml

contract describes REST-style HTTP API contracts as typed OCaml values. The current package provides a pure core for endpoint definitions, parameter and JSON decoding, request validation, and OpenAPI 3.0.3 output.

Tags http api contract openapi
AuthorThomas B.
LicenseMIT
Published
Homepagehttps://github.com/funwithcthulhu/contract
Issue Trackerhttps://github.com/funwithcthulhu/contract/issues
Documentationhttps://github.com/funwithcthulhu/contract#readme
MaintainerThomas B.
Dependencies
Source [http] https://github.com/funwithcthulhu/contract/archive/refs/tags/0.1.0.tar.gz
md5=c51c9108224fdadd034d5f6f405624db
sha512=5a8cb930abdc33382051b392caea40af98da35e82befc5a1c13374565178c6b91e4371758daa60062063540306672a8064ff3ca185d0ab93934be724ec52a58d
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/contract/contract.0.1.0/opam
No package is dependent