title: Automate update REST API Client during build
body: <p>My company is looking to implement applications using Azure API Apps. Client applications will create REST API clients using Swagger documents located in the Azure portal. Any changes to the Azure API apps will cause an update to the Swagger document when the service is published.</p>
  
  <p>Is there a way to automate the download of the service's swagger document so that the REST API client can be rebuilt/updated during the build process (e.g. something like a pre-build step)?</p>
  
  <p>Thanks for any help.</p>