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 and response 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. <funwithcthulhu29@gmail.com>
Dependencies
Source [http] https://github.com/funwithcthulhu/contract/archive/refs/tags/0.2.0.tar.gz
md5=22bb7430b72c2dd9c141679cc76c0ea5
sha512=d8e8687fd81b1191158ec6d7356887278eb7b7cd60114c4a7f13e52914e9c1ee17eeff37ffa81dd39b4104a553c3e457bacc78907f32ab279130ff5a76b5256f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/contract/contract.0.2.0/opam
No package is dependent