Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Resto.Description end
type !'schema service = 'schema Resto.Description.service = {
description : string option;
path : path_item list;
meth : Resto.meth;
query : query_item list;
input : 'schema Stdlib.Lazy.t option;
output : 'schema Stdlib.Lazy.t;
error : 'schema Stdlib.Lazy.t;
}
and query_item = Resto.Description.query_item = {
name : string;
description : string option;
kind : query_kind;
}
type !'schema directory = 'schema Resto.Description.directory =
| Empty
| Static of 'schema static_directory
| Dynamic of string option
and !'schema static_directory = 'schema Resto.Description.static_directory = {
services : 'schema service Resto.MethMap.t;
subdirs : 'schema static_subdirectories option;
}
val pp_print_directory : Stdlib.Format.formatter -> 'schema directory -> unit
val describe :
Tezos_rpc__.RPC_context.simple ->
?recurse:bool ->
string list ->
(Data_encoding.json_schema * Data_encoding.Binary_schema.t) directory
Tezos_error_monad.Error_monad.tzresult
Lwt.t