Module Values.ImportApiRequestSource

Sourcetype nonrec t = {
  1. basepath : string option;
    (*

    Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.

    *)
  2. body : string;
    (*

    The OpenAPI definition. Supported only for HTTP APIs.

    *)
  3. failOnWarnings : bool option;
    (*

    Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

    *)
}
Sourceval context_ : string
Sourceval make : ?basepath:??? -> ?failOnWarnings:??? -> body:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `String of string ]) 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