package ocaml_openapi_generator

  1. Overview
  2. Docs
type t = {
  1. tags : string list;
  2. summary : string option;
  3. description : string option;
  4. external_docs : External_documentation.t option;
  5. operation_id : string option;
  6. parameters : Parameter.t Or_reference.t list;
  7. request_body : Request_body.t Or_reference.t option;
  8. responses : Responses.t;
  9. callbacks : Callback.t Or_reference.t Jsonaf_string_map.t;
  10. deprecated : bool;
  11. security : Security_requirement.t list option;
  12. servers : Server.t list;
}
include Ppx_jsonaf_conv_lib.Jsonafable.S with type t := t
val t_of_jsonaf : Jsonaf_kernel__.Type.t -> t
val jsonaf_of_t : t -> Jsonaf_kernel__.Type.t
val servers : t -> Server.t list
val security : t -> Security_requirement.t list option
val deprecated : t -> bool
val responses : t -> Responses.t
val request_body : t -> Request_body.t Or_reference.t option
val parameters : t -> Parameter.t Or_reference.t list
val operation_id : t -> string option
val external_docs : t -> External_documentation.t option
val description : t -> string option
val summary : t -> string option
val tags : t -> string list
module Fields : sig ... end
OCaml

Innovation. Community. Security.