Posts

Showing posts with the label OpenAPI

Create and configure custom connectors for PowerApps and MSFlow from AzureFunctions

Image
I have already discussed How to Create, Configure and Deploy AzureFunction using VisualStudio  and how to create swagger(OpenApi) endpoint for AzureFunctions .  So, In this article will see how to import and use them in PowerApps & MSFlow .  Upon completion of yaml  definition creation, Click->Export to PowerApps + Flow button or copy the API definition URL. Alternatively you can also download  ApiDef.json file. Go to  https://web.powerapps.com  and authenticate then select 'Custom Connectors' from the left navigation. Then Click Create custom connector->Import an OpenApi from URL as mentioed below. Enter function secret code which we copied earlier, Then name the connector and click Contiue. Now, Fill values in each wizard General -> Upload/configure connector icon. Security -> In my scenario I used 'Function' scope access. configure it as appropriate. Definition -...

Create swagger api endpoint for Azure functions

Image
In my previous article , we saw detailed step on how to create a server-less function using Azure Function . If you are not familiar with Azure Function topic I highly recommend you to have a look before we proceed here. Alright, In this article will see how to create/configure OpenApi for our Crypto Function and to be able to use in other applications. Before proceeding there let us understand OpenApi protocol. What is OpenApi? An open API (often referred to as a public API) is a publicly available application programming interface that provides developers with programmatic access to a proprietary software application or web service. APIs are sets of requirements that govern how one application can communicate and interact with another. - Wikipedia Basically, OpenApi provides its consumers a rich set of functionalities in a single EndPoint and to be able to access from any ecosystem.These Api are public or private based on the use-case. Like I mentioned already...