Open songType opened 5 years ago
请问相对应的配置加上去了,但是zuul不能生成接口文档,应该怎么解决?
class DocumentationConfig implements SwaggerResourcesProvider { @Override public List<SwaggerResource> get() { List resources = new ArrayList<>(); resources.add(swaggerResource("auth-center-server", "/api/auth-center-server/v2/api-docs", "1.0")); resources.add(swaggerResource("user-server", "/api/user-server/v2/api-docs", "1.0")); // resources.add(swaggerResource("gateway-server", "/api/gateway-server/v2/api-docs", "1.0")); resources.add(swaggerResource("account-server", "/api/account-server/v2/api-docs", "1.0")); return resources; }
请问相对应的配置加上去了,但是zuul不能生成接口文档,应该怎么解决?