package contract

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

Description

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

Published: 27 May 2026

Dependencies (3)

  1. yojson >= "2.0.0"
  2. dune >= "3.11"
  3. ocaml >= "5.0"

Dev Dependencies (1)

  1. alcotest with-test & >= "1.9.0"

Used by

None

Conflicts

None