OpenAPIActionTool
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:22
new OpenAPIActionTool(
openapi_uri,domainHeaders):OpenAPIActionTool
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:64
openapi_uri
Section titled “openapi_uri”string
domainHeaders
Section titled “domainHeaders”DomainHeaders = {}
OpenAPIActionTool
openapi_uri
Section titled “openapi_uri”openapi_uri:
string
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:65
domainHeaders
Section titled “domainHeaders”域头:
DomainHeaders={}
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:66
loadOpenapiSpec()
Section titled “loadOpenapiSpec()”loadOpenapiSpec(
url):Promise<any>
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:70
string
Promise<any>
getRequest()
Section titled “getRequest()”getRequest(
input):Promise<JSONValue>
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:79
Input
Promise<JSONValue>
postRequest()
Section titled “postRequest()”postRequest(
input):Promise<JSONValue>
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:96
Input
Promise<JSONValue>
patchRequest()
Section titled “patchRequest()”patchRequest(
input):Promise<JSONValue>
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:111
Input
Promise<JSONValue>
toToolFunctions()
Section titled “toToolFunctions()”toToolFunctions():
Promise<FunctionTool<Input,JSONValue|Promise<JSONValue>,object>[]>
定义于:.build/typescript/packages/tools/src/tools/openapi-action.ts:126
Promise<FunctionTool<Input, JSONValue | Promise<JSONValue>, object>[]>