a tools for sphinx gen doc from swagger2 api
Add a longer description here.
pip install sphinxcontrib-sphinx-swagger2-api-doc
in config.py
extensions += ['sphinxcontrib.swagger2', ]
swagger_api_url = os.path.join(PROJECT_DIR, "_static", "api-docs.json")
swagger_api_domain = "timger.com.cn"
in rst file
.. swagger:: /v1/api/test/
:method: GET
:title: test API
:summary: sssss