Mavryk_openapi.OpenapiOpenAPI specifications.
This is not a general library, in particular it does not support content-types other than application/json. It only supports what we actually use.
module Schema : sig ... endOpenAPI Schema Objects.
module Response : sig ... endmodule Parameter : sig ... endmodule Service : sig ... endmodule Path : sig ... endmodule Endpoint : sig ... endAPI endpoints, i.e. paths associated with one or more HTTP methods.
module Server : sig ... endtype t = {title : string;description : string option;version : string;servers : Server.t list;definitions : (string * Schema.t) list;endpoints : Endpoint.t list;}val make :
title:string ->
?description:string ->
version:string ->
?servers:Server.t list ->
?definitions:(string * Schema.t) list ->
Endpoint.t list ->
t