会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xunhanliu
博客园
首页
新随笔
联系
订阅
管理
2021年6月29日
fastapi小技巧
摘要: 1、定制文档生成: 参见 fastapi/applycations.py 中的setup. /docs 把所有的路径routes 都包含进去了。参考实现根据tag 实现文档生成。 要先生成docs 需要的openapi_url。(其中get_openapi 是fastapi.openapi.util
阅读全文
posted @ 2021-06-29 16:31 xunhanliu
阅读(231)
评论(0)
推荐(0)
编辑
公告