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 nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi Team,
I am trying to build a data connector using openApi via swagger document, which beautifully lists the apis as functions with parameters. Below is the code:
// Pull the latest swagger definition from the site
swagger = Extension.Contents("swagger.json"),
// OpenApi.Document will return a navigation table
nav = OpenApi.Document(swagger, DefaultOptions)Now, biggest challenge, when i click on each api as function and invoke with parameters, i get raw response back.
Befor even i get the response from the invoked api function, i need to apply some transformations upon the response.
How to achieve this, any idea? please suggest!
Thanks in advance!
Hi Nagpraveen,
If the transformation are the same, I think you could invoke api function directly, but if the transformation is not same, I think it is hard to apply this dynamiclly.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.