@Override
  public void apply(Swagger swagger) {
    ApiKeyAuthDefinition authorization = new ApiKeyAuthDefinition("Authorization", In.HEADER);
    authorization.setVendorExtension("x-amazon-apigateway-authtype", authType);
    swagger.securityDefinition(SECURITY_SCHEME_NAME, authorization);

    for (Path path : swagger.getPaths().values()) {
      for (Operation operation : path.getOperations()) {
        operation.addSecurity(SECURITY_SCHEME_NAME, Collections.emptyList());
      }
    }
  }
The authentication type for the generated swagger model, defaults to AWS Signature Version 4

<p>See the documentation for more details:
http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions-authtype.html
buildSrc/src/main/java/com/amazonaws/blox/swagger/ApiGatewaySecurityFilter.java