don't save empty servers
@@ -374,11 +374,13 @@ public class SwaggerConverter implements SwaggerParserExtension {
servers.add(server);
}
} else {
+ if (!"/".equals(baseUrl)) {
Server server = new Server();
server.setUrl(baseUrl);
servers.add(server);
}
+ }
return servers;
}
