package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Resto.Description end
type request = Resto.Description.request = {
  1. recurse : bool;
}
type !'schema service = 'schema Resto.Description.service = {
  1. description : string option;
  2. path : path_item list;
  3. meth : Resto.meth;
  4. query : query_item list;
  5. input : 'schema Stdlib.Lazy.t option;
  6. output : 'schema Stdlib.Lazy.t;
  7. error : 'schema Stdlib.Lazy.t;
}
and path_item = Resto.Description.path_item =
  1. | PStatic of string
  2. | PDynamic of Resto.Arg.descr
  3. | PDynamicTail of Resto.Arg.descr
and query_item = Resto.Description.query_item = {
  1. name : string;
  2. description : string option;
  3. kind : query_kind;
}
and query_kind = Resto.Description.query_kind =
  1. | Single of Resto.Arg.descr
  2. | Optional of Resto.Arg.descr
  3. | Flag
  4. | Multi of Resto.Arg.descr
type !'schema directory = 'schema Resto.Description.directory =
  1. | Empty
  2. | Static of 'schema static_directory
  3. | Dynamic of string option
and !'schema static_directory = 'schema Resto.Description.static_directory = {
  1. services : 'schema service Resto.MethMap.t;
  2. subdirs : 'schema static_subdirectories option;
}
and !'schema static_subdirectories = 'schema Resto.Description.static_subdirectories =
  1. | Suffixes of 'schema directory Resto.StringMap.t
  2. | Arg of Resto.Arg.descr * 'schema directory
val pp_print_directory : Stdlib.Format.formatter -> 'schema directory -> unit
OCaml

Innovation. Community. Security.