Update README.md

This commit is contained in:
想要成为RapStar吗? 2020-09-24 15:15:55 +08:00 committed by GitHub
parent 04a6173d92
commit 2b27626ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,12 +40,20 @@ Do By You Self
2. watch 127.0.0.1:8000/docs 2. watch 127.0.0.1:8000/docs
``` ```
eg:
![生成的fastapi的api结构图](https://github.com/lateautumn4lin/arida/blob/master/source/fastapi_docs.png)
![对应api的参数图](https://github.com/lateautumn4lin/arida/blob/master/source/post_body_hints.png)
## Run tests ## Run tests
```sh ```sh
uvicorn main:app --reload uvicorn main:app --reload
``` ```
eg:
![测试图](https://github.com/lateautumn4lin/arida/blob/master/source/test.png)
## 参考资料 ## 参考资料