package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. methods : (string * RestMethod.t) list;
    (*

    Methods on this resource.

    *)
  2. resources : (string * t) list;
    (*

    Sub-resources on this resource.

    *)
}
val methods : (t, (string * RestMethod.t) list) GapiLens.t
val resources : (t, (string * t) list) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t