Module Values.APISchemaSource

Contains details about the OpenAPI schema for a custom plugin. For more information, see custom plugin OpenAPI schemas. You can either include the schema directly in the payload field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3 field.

Sourcetype nonrec t = {
  1. payload : Payload.t option;
    (*

    The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.

    *)
  2. s3 : S3.t option;
    (*

    Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The schema could be in either JSON or YAML format.

    *)
}
Sourceval make : ?payload:??? -> ?s3:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Payload.t | `Structure of (string * [> `String of S3BucketName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t