Commit 1cfe5dea by Nepxion

整合Actuator和Swagger

parent a8f1cfdd
...@@ -36,7 +36,7 @@ public class ConsoleEndpoint implements MvcEndpoint { ...@@ -36,7 +36,7 @@ public class ConsoleEndpoint implements MvcEndpoint {
private DiscoveryClient discoveryClient; private DiscoveryClient discoveryClient;
@RequestMapping(path = "/console/services", method = RequestMethod.GET) @RequestMapping(path = "/console/services", method = RequestMethod.GET)
@ApiOperation(value = "获取服务注册中心所有服务列表", notes = "", response = List.class, httpMethod = "GET") @ApiOperation(value = "获取服务注册中心服务列表", notes = "", response = List.class, httpMethod = "GET")
@ResponseBody @ResponseBody
@ManagedOperation @ManagedOperation
public List<String> services() { public List<String> services() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment