Skip to content

Commit 8f6da17

Browse files
committed
Update README.md
1 parent ec5fa1e commit 8f6da17

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
```
3131
composer require tangwei/apidocs
3232
```
33-
默认使用swagger-ui,可使用knife4j-ui(功能更强大)
33+
默认使用swagger-ui,可安装knife4j-ui(功能更强大) (可选)
3434

3535
```
3636
composer 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

0 commit comments

Comments
 (0)