你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OpenApiFunctionDefinition interface

The input definition information for an openapi function.

Properties

auth

Open API authentication details

defaultParams

List of OpenAPI spec parameters that will use user-provided defaults

description

A description of what the function does, used by the model to choose when and how to call the function.

name

The name of the function to be called.

spec

The openapi function shape, described as a JSON Schema object.

Property Details

auth

Open API authentication details

auth: OpenApiAuthDetailsUnion

Property Value

defaultParams

List of OpenAPI spec parameters that will use user-provided defaults

defaultParams?: string[]

Property Value

string[]

description

A description of what the function does, used by the model to choose when and how to call the function.

description?: string

Property Value

string

name

The name of the function to be called.

name: string

Property Value

string

spec

The openapi function shape, described as a JSON Schema object.

spec: any

Property Value

any