OpenApiFunctionDefinition interface
openapi 函数的输入定义信息。
属性
| auth | 打开 API 身份验证详细信息 |
| default |
将使用用户提供的默认值的 OpenAPI 规范参数列表 |
| description | 函数作用的描述,由模型用于选择何时以及如何调用函数。 |
| functions | OpenApi 工具使用的函数定义列表 |
| name | 要调用的函数的名称。 |
| spec | openapi 函数形状,描述为 JSON 架构对象。 |
属性详细信息
auth
defaultParams
将使用用户提供的默认值的 OpenAPI 规范参数列表
defaultParams?: string[]
属性值
string[]
description
函数作用的描述,由模型用于选择何时以及如何调用函数。
description?: string
属性值
string
functions
name
要调用的函数的名称。
name: string
属性值
string
spec
openapi 函数形状,描述为 JSON 架构对象。
spec: any
属性值
any