package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Map : sig ... end
type t = {
  1. discriminant : string;
    (*

    The name of the type discriminant property.

    *)
  2. map : Map.t list;
    (*

    The map of discriminant value to schema to use for parsing..

    *)
}
val discriminant : (t, string) GapiLens.t
val map : (t, Map.t list) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.