Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OpenApiToolset

import type { OpenApiToolset } from "https://googleapis.deno.dev/v1/ces:v1.ts";

A toolset that contains a list of tools that are defined by an OpenAPI schema.

interface OpenApiToolset {
apiAuthentication?: ApiAuthentication;
ignoreUnknownFields?: boolean;
openApiSchema?: string;
serviceDirectoryConfig?: ServiceDirectoryConfig;
tlsConfig?: TlsConfig;
url?: string;
}

§Properties

§
apiAuthentication?: ApiAuthentication
[src]

Optional. Authentication information required by the API.

§
ignoreUnknownFields?: boolean
[src]

Optional. If true, the agent will ignore unknown fields in the API response for all operations defined in the OpenAPI schema.

§
openApiSchema?: string
[src]

Required. The OpenAPI schema of the toolset.

§
serviceDirectoryConfig?: ServiceDirectoryConfig
[src]

Optional. Service Directory configuration.

§
tlsConfig?: TlsConfig
[src]

Optional. The TLS configuration. Includes the custom server certificates

§
url?: string
[src]

Optional. The server URL of the Open API schema. This field is only set in toolsets in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema.