Share via


openapi_manager Module

Functions

create_functions_from_openapi

Creates the functions from OpenAPI document.

Args: plugin_name: The name of the plugin openapi_document_path: The OpenAPI document path, it must be a file path to the spec (optional) openapi_parsed_spec: The parsed OpenAPI spec (optional) execution_settings: The execution settings

Returns: list[KernelFunctionFromMethod]: the operations as functions

Note: This function is marked as 'experimental' and may change in the future.

create_functions_from_openapi(plugin_name: str, openapi_document_path: str | None = None, openapi_parsed_spec: dict[str, Any] | None = None, execution_settings: OpenAPIFunctionExecutionParameters | None = None) -> list[KernelFunctionFromMethod]

Parameters

Name Description
plugin_name
Required
openapi_document_path
Default value: None
openapi_parsed_spec
Default value: None
execution_settings
Default value: None