package tezos-openapi

  1. Overview
  2. Docs

Module Tezos_openapi.ConvertSource

Sourceval fail : ('a, unit, string, 'b) format4 -> 'a
Sourceval warn : ('a, unit, string, unit) format4 -> 'a
Sourceval opt_fold : ('a -> 'b -> 'a) -> 'a -> 'b option -> 'a
Sourceval check_array_specs : Json_schema.array_specs -> unit
Sourceval convert_enum : Json_repr.any list option -> ([> Json_repr.ezjsonm ] -> 'a) -> 'a list option
Sourcemodule String_map : sig ... end
Sourceval empty_env : 'a String_map.t
Sourceval merge_envs : env -> env -> env
Sourceval merge_env_list : env list -> env
Sourceval gather_definitions : Json_schema.schema -> Openapi.Schema.t -> env
Sourceval convert_schema : Json.t -> env * Openapi.Schema.t
Sourceval convert_response : ?code:int -> Api.schemas option -> env * Openapi.Response.t list
Sourceval opt_map_with_env : ('a -> 'b String_map.t * 'c) -> 'a option -> 'b String_map.t * 'c option
Sourceval convert_service : Api.path_item list -> Method.t -> Api.service -> env * Openapi.Service.t
Sourceval convert_path_item : Api.path_item -> Openapi.Path.item
Sourceval convert_path : Api.path -> Openapi.Path.t
Sourceval convert_api : title:string -> description:string -> string -> Api.service Api.endpoint list -> Openapi.t