API Management API import swagger

I am creating an API Management on Azure using Terraform. I create multiple APIs and import the content as a swagger-json file. I would like to use the swagger-json file as a template and pass parameters into it via the Terraform script. Similar to the way you import an API Management API policy, using a template file as XML content, and passing parameters into it from main.tf. Can this be done using Terraform, or is this a feature to be added?