Azure APIM Automated Imports of Function Apps?

Is there an official way of when creating the API Object to automatically import a Function App?

Everything I’ve been finding in my various searches of the Internet results in kinda ugly hacks.

The closest I’ve found for things is this:

It doesn’t seem like something that’s supported outside of clicking the buttons in Azure.