package ez_api
Easy API library and tools
Install
Dune Dependency
github.com
Readme
Changelog
LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (6)
Authors
Maintainers
Sources
1.2.0.tar.gz
md5=55bb40d00db6cd35cbf6ef6cff63363a
sha512=16922b231f19615ca7179a3c7d31e8c3897f2b37f574f69e06b35f12b501434c6eb85bec91cfed16ffd3eec71f8859d94bd003044a848560d434e04a0b1e99e2
doc/ez_api.openAPI/EzOpenAPI/index.html
Module EzOpenAPI
Source
Source
val make_query_param :
?definitions:Json_schema.schema ->
EzAPI.Param.t ->
Types.param_object * Json_schema.schema
Source
val make_request :
?example:Json_repr.any ->
string list ->
Json_schema.schema option ->
Types.request_object option
Source
val merge_definitions :
?definitions:Json_schema.schema ->
EzAPI.Doc.t ->
Json_schema.schema option
* (int * Json_schema.schema) list
* Json_schema.schema
Source
val make_path :
?docs:
(string * (string * string * Json_repr.any option * Json_repr.any option))
list ->
?definitions:Json_schema.schema ->
EzAPI.Doc.t ->
(string * Types.path_item) * Json_schema.schema
Source
val json_map :
(Json_repr.ezjsonm -> Json_repr.ezjsonm) ->
Json_repr.ezjsonm ->
Json_repr.ezjsonm
Source
val make :
?descr:string ->
?terms:string ->
?contact:Types.contact_object ->
?license:Types.license_object ->
?version:string ->
?servers:Types.server_object list ->
?docs:
(string * (string * string * Json_repr.any option * Json_repr.any option))
list ->
?yaml:bool ->
?pretty:bool ->
sections:EzAPI.Doc.section list ->
title:string ->
string ->
string * string
Source
val write :
?descr:string ->
?terms:string ->
?contact:Types.contact_object ->
?license:Types.license_object ->
?version:string ->
?servers:Types.server_object list ->
?docs:
(string * (string * string * Json_repr.any option * Json_repr.any option))
list ->
?yaml:bool ->
?pretty:bool ->
sections:EzAPI.Doc.section list ->
title:string ->
string ->
unit
Source
val executable :
sections:EzAPI.Doc.section list ->
docs:
(string * (string * string * Json_repr.any option * Json_repr.any option))
list ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>