Microsoft Fabric Updates Blog

OpenAPI specification code generation now available in Fabric User Data Functions

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:

  1. Generate client code: Your functions can be invoked using a REST API call from outside of Fabric. Certain tools such as Swagger Codegen can use your OpenAPI specifications to automatically generate a client application to call the endpoints defined in your function.
  2. Integrate with API gateways and management: You can import your Open API specification into API management platforms, such as Azure API Management, allowing you to use it for your public Fabric User Data Functions.
  3. Integrate with AI agents: You can use an AI platform such as Azure AI Foundry to configure a tool that a model can use, unlocking many agentic use cases.

How to generate an OpenAPI specification?

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.

How to get your OpenAPI specification from the Functions portal.

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.

How do I update my Fabric User Data Functions library?

To update this library, go to the Functions portal of your User Data Functions item and use the following steps:

  1. Select Library Management from the Functions portal page.
  2. Locate the fabric-user-data-functions library in the table, hover over it and select the edit icon.
  3. Select the latest version from the dropdown. Hint: it’s listed at the top. There’s no need to publish your functions after updating your library. It’s always a good idea to keep this library up to date.
Use this dropdown to select the latest version of your library.

Resources

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.

Postingan blog terkait

OpenAPI specification code generation now available in Fabric User Data Functions

November 4, 2025 berdasarkan Misha Desai

We’re introducing a set of new enhancements for Data Agent creators — designed to make it easier to debug, improve, and express your agent’s logic. Whether you’re tuning example queries, refining instructions, or validating performance, these updates make it faster to iterate and deliver high-quality experiences to your users. New Debugging Tools View referenced example … Continue reading “Creator Improvements in the Data Agent”

November 3, 2025 berdasarkan Arshad Ali

Additional authors – Madhu Bhowal, Ashit Gosalia, Aniket Adnaik, Kevin Cheung, Sarah Battersby, Michael Park Esri is recognized as the global market leader in geographic information system (GIS) technology, location intelligence, and mapping, primarily through its flagship software, ArcGIS. Esri empowers businesses, governments, and communities to tackle the world’s most pressing challenges through spatial analysis. … Continue reading “ArcGIS GeoAnalytics for Microsoft Fabric Spark (Generally Available)”