package openapi
-
openapi
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val pp_map :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a map ->
Ppx_deriving_runtime.unit
val show_map :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
'a map ->
Ppx_deriving_runtime.string
val map_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a map
val pp_any_map :
Ppx_deriving_runtime.Format.formatter ->
any_map ->
Ppx_deriving_runtime.unit
val show_any_map : any_map -> Ppx_deriving_runtime.string
val any_map_of_yojson : Yojson.Safe.t -> Yojson.Safe.t map
val yojson_of_or_ref :
('a -> [> `Assoc of (string * [> `String of string ]) list ] as 'b) ->
'a or_ref ->
'b
val or_ref_of_yojson :
([> `Assoc of (string * [> `String of string ]) list ] as 'a -> 'b) ->
'a ->
'b or_ref
val pp_or_ref :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a or_ref ->
unit
val string_of_json_schema_type : json_schema_type -> string
val json_schema_type_of_yojson : Yojson.Safe.t -> json_schema_type
val yojson_of_json_schema_type : json_schema_type -> Yojson.Safe.t
val pp_json_schema_type : Stdlib.Format.formatter -> json_schema_type -> unit
type schema = {
schema : string option;
id_ : string option;
title : string option;
description : string option;
default : any option;
examples : any list option;
read_only : bool option;
write_only : bool option;
comment : string option;
typ : json_schema_type or_ref option;
enum : any list option;
const : any option;
multiple_of : float option;
minimum : float option;
exclusiveMinimum : float option;
maximum : float option;
exclusiveMaximum : float option;
properties : schema or_ref map option;
pattern_properties : schema or_ref map option;
additional_properties : schema or_ref option;
required : string list option;
property_names : schema or_ref option;
min_properties : int option;
max_properties : int option;
min_items : int option;
max_items : int option;
items : schema or_ref option;
prefix_items : schema or_ref list option;
format : string option;
pattern : string option;
min_length : int option;
max_length : int option;
all_of : schema or_ref list option;
any_of : schema or_ref list option;
one_of : schema or_ref list option;
}
val make_schema :
?schema:string ->
?id_:string ->
?title:string ->
?description:string ->
?default:any ->
?examples:any list ->
?read_only:bool ->
?write_only:bool ->
?comment:string ->
?typ:json_schema_type or_ref ->
?enum:any list ->
?const:any ->
?multiple_of:float ->
?minimum:float ->
?exclusiveMinimum:float ->
?maximum:float ->
?exclusiveMaximum:float ->
?properties:schema or_ref map ->
?pattern_properties:schema or_ref map ->
?additional_properties:schema or_ref ->
?required:string list ->
?property_names:schema or_ref ->
?min_properties:int ->
?max_properties:int ->
?min_items:int ->
?max_items:int ->
?items:schema or_ref ->
?prefix_items:schema or_ref list ->
?format:string ->
?pattern:string ->
?min_length:int ->
?max_length:int ->
?all_of:schema or_ref list ->
?any_of:schema or_ref list ->
?one_of:schema or_ref list ->
unit ->
schema
val pp_schema :
Ppx_deriving_runtime.Format.formatter ->
schema ->
Ppx_deriving_runtime.unit
val show_schema : schema -> Ppx_deriving_runtime.string
val schema_of_yojson : Yojson.Safe.t -> schema
val yojson_of_schema : schema -> Ppx_yojson_conv_lib.Yojson.Safe.t
module Helpers : sig ... end