package ez_api

  1. Overview
  2. Docs
type kind =
  1. | PARAM_INT
  2. | PARAM_STRING
  3. | PARAM_BOOL
type t = {
  1. param_id : string;
  2. param_name : string option;
  3. param_descr : string option;
  4. param_type : kind;
  5. param_required : bool;
  6. param_examples : string list;
}
val make : kind -> ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> string -> t
val string : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> string -> t
val int : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> string -> t
val bool : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> string -> t
OCaml

Innovation. Community. Security.