使用JHipster访问Swagger文档

use*_*206 7 jhipster

我只使用jhipster生成了一个app服务器.

yo jhipster --skip-client
Run Code Online (Sandbox Code Playgroud)

它在访问时产生了我需要的所有必要的api调用

http://localhost:8080/swagger-ui/index.html
Run Code Online (Sandbox Code Playgroud)

我以404结束了.我的印象是包含了招摇,但似乎无法访问,尽管可以使用昂首阔步的api端点.

Kye*_*JmD 9

你不能,因为你只是生成其余的apis.如果你想看到api-docs按照这里提到的说明

一旦您成功克隆了所述存储库

打开dist/index.html并简单地将源粘贴到那里

HTTP://本地主机:8080/V2/API-文档

它应该看起来像这样在此输入图像描述