@Override
    public void retireApi(Api api, IAsyncResultHandler<Void> handler) {
        super.retireApi(api, result -> {
            if (result.isSuccess()) {
                retire(api);
            }
            handler.handle(result);
            rewrite();
         });
    }
@author Marc Savy {@literal <marc@rhymewithgravy.com>}
gateway/test/src/test/java/io/apiman/gateway/test/junit/vertx3/ApiToFileRegistry.java