Support API definition updates as part of Visual Studio builds
For applications developed in Visual Studio and leveraging Swashbuckle, can we get the ability to update the API definitions in APIm on each build and deploy (CI) rather than having to hand-update APIm each time.
Sanket Bakshi commented
I believe the scenario that he is mentioning is where we have some backend APIs defined in API management and whenever those APIs change, the APIM API definitions should automatically update themselves. I can quickly see how these can start resulting in versioning problems with customers, however, it can still be a good feature to have them automatically update the API and still have the previous version active. Once the API managers / admins review the API updates and determine the version the customers will be moved, then those API changes can be "published". This might require the versioning and multiple environments (prod,test,staging) tasks to be done before this one can be approached.
Thank you, Michael. A script called out of msbuild using http://aka.ms/apimapi or PowerShell to import the Swagger file generated by Swashbuckle should do the trick in the meantime. Can you describe your scenario in a some more detail?