Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val fail : ('a, unit, string, 'b) format4 -> 'a
val warn : ('a, unit, string, unit) format4 -> 'a
val check_array_specs : Json_schema.array_specs -> unit
val convert_enum :
Json_repr.any list option ->
([> Json_repr.ezjsonm ] -> 'a) ->
'a list option
val convert_element : Json_schema.element -> Openapi.Schema.t
module String_map : sig ... end
type env = Openapi.Schema.t String_map.t
val empty_env : 'a String_map.t
val gather_definitions : Json_schema.schema -> Openapi.Schema.t -> env
val convert_schema : Json.t -> env * Openapi.Schema.t
val convert_response :
?code:int ->
Api.schemas option ->
env * Openapi.Response.t list
val opt_map_with_env :
('a -> 'b String_map.t * 'c) ->
'a option ->
'b String_map.t * 'c option
val convert_query_parameter :
Api.query_parameter ->
Openapi.Service.query_parameter
val convert_service :
Api.path_item list ->
Method.t ->
Api.service ->
env * Openapi.Service.t
val convert_path_item : Api.path_item -> Openapi.Path.item
val convert_path : Api.path -> Openapi.Path.t
val convert_endpoint : Api.service Api.endpoint -> env * Openapi.Endpoint.t
val convert_api :
title:string ->
description:string ->
string ->
Api.service Api.endpoint list ->
Openapi.t