【发布时间】:2016-11-18 09:50:39
【问题描述】:
When I hit http://localhost:3001/api-docs loads the swagger json docs.
{
swagger: "2.0",
info: {
version: "1.0.0",
title: "Auth-gateway services",
contact: {
name: "swagger docs",
url: "https://www.google.com"
}
},
host: "127.0.0.1:3001",
basePath: "/",
...
}
但是我如何为我的 API 加载像 http://petstore.swagger.io/ 这样的 UI。
【问题讨论】: