package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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;
  7. param_schema : Json_schema.schema option;
}
val make : kind -> ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> ?schema:Json_schema.schema -> string -> t
val string : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> ?schema:Json_schema.schema -> string -> t
val int : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> ?schema:Json_schema.schema -> string -> t
val bool : ?name:string -> ?descr:string -> ?required:bool -> ?examples:string list -> ?schema:Json_schema.schema -> string -> t
OCaml

Innovation. Community. Security.