Generate an Open API Definition for Azure Function App
Generate an Open API Definition for Azure Function App to expose function methods
Azure Functions are designed to enable the creation of small pieces of reusable methods, easily shared across a serverless architecture. You can build these methods to serve a single purpose and respond to events in other Azure Services, or through HTTP requests from external clients. Moreover, you can group a few of these methods in a Function App and expose them as an API.
With the specification, you can use it for any other level of integration such as integration with Power Apps, Microsoft Flow, or import it into API Management to expose your methods securely to external developers.
You can select methods in your functions by navigating with each function to the integrate tab. Next, you choose all the methods and header types for which you want to generate the API Specification.
In the platform feature tab under Function App Settings choose the API definition feature available under API Group. Subsequently, click generate API definition to create the specification.
With the specification, you can export it to PowerApps or Flow, or import in API Management.