根据模型自动生成 API 接口和文档
Project description
Flask AutoAPI 是一个 flask 扩展,根据模型自动生成 API 接口和文档。
API 接口基于 flask_restful 和 peewee,文档使用 ApiDoc 生成。
安装
npm install apidoc -g
pip install flask-autoapi
TODO
存储分离出去
EndPiont 重载 √
允许修改字段的值
返回时过滤掉不需要的字段 √
有些字段不需要出现在文档上 √
MethodField
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask_autoapi-0.7.5.tar.gz
(9.8 kB
view hashes)