This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
OpenAPI_specification_code_generation_now_available_in_Fabric_User_Data_Function
The Open API specification, formerly Swagger Specification, is a widely used, language-agnostic description format for REST APIs. This allows humans and computers alike to discover and understand the capabilities of a service in a standardized format. This is critical for creating integrations with external systems, AI agents and code generators.
Now, you can automatically generate the Open API specification of your Fabric User Data Functions by using the Generate invocation code feature of the Functions portal. This feature, in combination with making your functions publicly accessible, can enable the following use cases:
IMPORTANT NOTE: To use this feature, you need to have the most up-to-date version of the fabric-user-data-functions library. You can find more information on how to update this library.
To generate your OpenAPI specification, simply navigate to your User Data Functions item in the Fabric portal and click on Generate invocation code on the toolbar of your functions. After that, you can select Open API specification from the drop-down menu. A new window will pop up where you can copy your specification. You can choose between JSON and YAML on the top bar.
OpenAPI_specification_code_generation_now_available_in_Fabric_User_Data_Function
Make sure your Python functions contain a DOCSTRING to describe their functionality and add the use case context they need. This will be included in the documentation for your OpenAPI specification.
To update this library, go to the Functions portal of your User Data Functions item and use the following steps:
fabric-user-data-functions library in the table, hover over it and select the edit icon.Test_and_validate_your_functions_with_Develop_mode_in_Fabric_User_Data_Functions
Feel free to email FabricUserDataFunctionsPreview@service.microsoft.com if you have any more questions.
For additional information about the new features and Fabric User Data Functions, refer to the following documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.