package ocaml_openapi_generator

  1. Overview
  2. Docs
type t = {
  1. name : string;
  2. description : string option;
  3. required : bool;
  4. deprecated : bool;
  5. example : Jsonaf.t option;
  6. examples : Example.t Or_reference.t Jsonaf_string_map.t;
  7. explode : bool option;
  8. schema : Schema.t Or_reference.t option;
  9. content : Media_type.t Jsonaf_string_map.t option;
  10. allow_reserved : bool option;
  11. allow_empty_value : bool option;
}
include Ppx_jsonaf_conv_lib.Jsonafable.S with type t := t
val t_of_jsonaf : Jsonaf_kernel__.Type.t -> t
val jsonaf_of_t : t -> Jsonaf_kernel__.Type.t
val allow_empty_value : t -> bool option
val allow_reserved : t -> bool option
val content : t -> Media_type.t Jsonaf_string_map.t option
val schema : t -> Schema.t Or_reference.t option
val explode : t -> bool option
val example : t -> Jsonaf.t option
val deprecated : t -> bool
val required : t -> bool
val description : t -> string option
val name : t -> string
module Fields : sig ... end
OCaml

Innovation. Community. Security.