package contract

  1. Overview
  2. Docs
Typed HTTP API contracts for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=c51c9108224fdadd034d5f6f405624db
sha512=5a8cb930abdc33382051b392caea40af98da35e82befc5a1c13374565178c6b91e4371758daa60062063540306672a8064ff3ca185d0ab93934be724ec52a58d

doc/CHANGES.html

Changes

0.1.0 - 2026-05-24

Initial release of the pure OCaml contract core.

  • Add endpoint definitions, path matching, request validation, scalar and JSON decoding, and OpenAPI output.
  • Add percent-decoding for captured path parameters.
  • Include a users API example and focused Alcotest coverage.

Current scope is intentionally small. There are no HTTP adapters, typed clients, mock servers, OpenAPI import, or response validation yet.