package ez_api
Module EzAPI.ArgSource
Source
type descr = {name : string;descr : string option;example : string option;schema : Json_schema.schema option;
}Source
val make :
?example:'a ->
?descr:string ->
?schema:Json_schema.schema ->
name:string ->
destruct:(string -> ('a, string) result) ->
construct:('a -> string) ->
unit ->
'a tSource
val float :
?descr:string ->
?example:float ->
?schema:Json_schema.schema ->
string ->
float tSource
val int32 :
?descr:string ->
?example:int32 ->
?schema:Json_schema.schema ->
string ->
int32 tSource
val int64 :
?descr:string ->
?example:int64 ->
?schema:Json_schema.schema ->
string ->
int64 tSource
val string :
?descr:string ->
?example:string ->
?schema:Json_schema.schema ->
string ->
string t