推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
kayseen
V2EX  ›  Python

麻烦问一下,大家在写 django 或者使用 drf 框架的时候,都使用什么生成 api 文档

  •  
  •   kayseen · Jan 13, 2020 · 3086 views
    This topic created in 2463 days ago, the information mentioned may be changed or developed.

    以前在别的框架中使用 swagger, 然后今天看了一下 django-swagger, github 已经停止更新了,

    然后又看了下 drf-yasg, 这个还一直在更新, 但是我看官方写的示例, 确实没太看懂, 比如使用 get 方法传递 url 参数, 在 drf-yasg 的 demo 中都找不到对应的入参字段...(本人太菜)

    所以想请问一下大家在 django 中用什么来维护测试 api?

    4 replies  •  2020-01-17 08:55:49 +08:00
    ericls
        1
    ericls  
       Jan 13, 2020 via iPhone
    graphene
    wuwukai007
        2
    wuwukai007  
       Jan 13, 2020
    pip install coreapi
    smartwusir007
        3
    smartwusir007  
       Jan 14, 2020
    额,手写 md
    Cuo
        4
    Cuo  
       Jan 17, 2020 via iPhone
    手写 md+1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   6212 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 02:01 · PVG 10:01 · LAX 19:01 · JFK 22:01
    ♥ Do have faith in what you're doing.