class SwaggerBuilder {

    public String generateJSON(Collection<Route> routes) {
        Swagger swagger = build(routes);
        String json = Json.pretty(swagger);
        return json;
    }

    public  SwaggerBuilder(Settings settings, Router router);
    public  SwaggerBuilder(Settings settings, Router router, ContentTypeEngines engines, Messages messages);

}