public void api(String ref, FileCollection swagger) {
    getInputs().files(swagger);
    apis.put(ref, swagger.getSingleFile());
  }
Register an API Gateway API that should have its DefinitionBody property updated in the
Cloudformation template

@param ref the Cloudformation Ref of the API to update
@param swagger the file containing the swagger definition of the API
buildSrc/src/main/java/com/amazonaws/blox/tasks/PostProcessCloudformation.java