private void publish(Api api) {
        JsonObject apiJson = new JsonObject(Json.encode(api));
        apis.add(apiJson);
        apiMap.put(api, apiJson);
    }
@author Marc Savy {@literal <marc@rhymewithgravy.com>}
gateway/test/src/test/java/io/apiman/gateway/test/junit/vertx3/ApiToFileRegistry.java