Pretty printer helpers (primarily combinators) without repetitive typing. Pass it your pretty printer once.
OCaml let namevalue_of_req x = y
and let namevalue_to_req y = x
printer of Request Body object serialization functions.
OCaml let getRestOperation = Routes.ksprintf k x
printer.
Decider of representations of types and values in OCaml that work at scale. For example, Stripe's OpenAPI spec was 5.9 MB as of mid-2024 and its schemas were highly mutually recursive.
OCaml let rec x = Json_encoder.y
printer.
OCaml let string_of_p x = y
and let string_to_p y = x
printer of Parameter object serialization functions.
OCaml let getRestOperation = Routes.(s "v1" / s "widgets")
printer.
OaMlPp
is an OCaml source code printer of bidirectional encoders for OpenAPI.
OCaml let getRestOperation = Routes.ksprintf k x
printer.
Discover and annotate all data types and paths in an OpenAPI specification document.
Low-level values (functions, constants) shared among OpenAPI generator implementations.
Standard OCaml encoders for the OpenAPI standard.