Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val fail : ('a, unit, string, 'b) format4 -> 'a
and 'a static = {
get_service : 'a option;
post_service : 'a option;
put_service : 'a option;
delete_service : 'a option;
patch_service : 'a option;
subdirs : 'a subdirs option;
}
val opt_mandatory : string -> Json.t -> 'a option -> 'a
val show_path_item : path_item -> string
type path = path_item list
val show_path : path_item list -> string
type 'a endpoint = {
path : path;
get : 'a option;
post : 'a option;
put : 'a option;
delete : 'a option;
patch : 'a option;
}
type query_parameter = {
id : string option;
name : string;
description : string option;
kind : query_parameter_kind;
}
val parse_query_parameter : Json.t -> query_parameter