File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 3030```
3131composer require tangwei/apidocs
3232```
33- 默认使用swagger-ui,可使用knife4j -ui(功能更强大)
33+ 默认使用swagger-ui,可安装knife4j -ui(功能更强大) (可选 )
3434
3535```
3636composer require tangwei/knife4j-ui
@@ -204,11 +204,10 @@ php bin/hyperf.php start
204204[INFO] HTTP Server listening at 0.0.0.0:9501
205205```
206206
207- > 看到` Swagger docs url ` 显示,表示文档生成成功,访问` /swagger ` 即可以看到swagger页面
208- > 安装[ knife4j-ui] ( https://github.com/tw2066/knife4j-ui ) ,访问` /swagger/doc ` 即可以看到knife4j页面
209- > 访问` /swagger/redoc ` ,可以看到[ redoc] ( https://github.com/Redocly/redoc ) 页面
210-
211- ### 3. 使用
207+ * 看到` Swagger docs url ` 显示,表示文档生成成功
208+ * 访问` /swagger ` 可以看到swagger页面
209+ * 已安装[ knife4j-ui] ( https://github.com/tw2066/knife4j-ui ) ,访问` /swagger/doc ` 可以看到knife4j页面
210+ * 访问` /swagger/redoc ` ,可以看到[ redoc] ( https://github.com/Redocly/redoc ) 页面
212211
213212## 注解
214213
You can’t perform that action at this time.
0 commit comments