Skip to main content

根据模型自动生成 API 接口和文档

Project description

Flask AutoAPI 是一个 flask 扩展,根据模型自动生成 API 接口和文档。

API 接口基于 flask_restful 和 peewee,文档使用 ApiDoc 生成。

安装

npm install apidoc -g

pip install flask-autoapi

TODO

  1. 存储分离出去

  2. EndPiont 重载 √

  3. 允许修改字段的值

  4. 返回时过滤掉不需要的字段 √

  5. 有些字段不需要出现在文档上 √

  6. MethodField

Project details


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 details)

Uploaded Source

File details

Details for the file flask_autoapi-0.7.5.tar.gz.

File metadata

  • Download URL: flask_autoapi-0.7.5.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for flask_autoapi-0.7.5.tar.gz
Algorithm Hash digest
SHA256 6ba1fd2989c5e26d0a0b8ed2bdfe42db3092d7614a4e0b142f3d5491924272d3
MD5 4a0f0de57b1ea2176fe960eb8502abfb
BLAKE2b-256 60830fdb75fafe3aff17fd0a8daa97421e4e74a159e64836b16e0e0bc0f4c535

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page