Skip to main content

execute_openapi_tool

Function execute_openapi_tool 

Source
pub async fn execute_openapi_tool(
    api_tool: &OpenApiTool,
    args: &Value,
    client: &Client,
    auth: Option<&OpenApiAuth>,
) -> Result<String>
Expand description

Execute an OpenAPI tool by making the HTTP request.

Substitutes path parameters, adds query parameters, attaches auth, and returns the response body as a string.