package gapi-ocaml

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

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

    *)
  2. discriminant : string;
    (*

    The name of the type discriminant property.

    *)
}
val map : (t, Map.t list) GapiLens.t
val discriminant : (t, string) 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.