【文件属性】:
文件名称:falcon-swagger-ui:简单的Falcon应用程序,用于添加Swagger UI
文件大小:2.37MB
文件格式:ZIP
更新时间:2021-05-03 15:20:22
Python
Falcon-swagger-ui
简单的Falcon应用程序,用于将添加到您的Falcon应用程序。
随附的Swagger UI版本:v3.25.0
安装
pip install falcon-swagger-ui
用法
示例应用程序:
import falcon
from falcon_swagger_ui import register_swaggerui_app
app = falcon . API ()
SWAGGERUI_URL = '/swagger' # without trailing slash
SCHEMA_URL = 'http://petstore.swagger.io/v2/swagger.json'
### For developer environment you can expose a static endpoint like:
# impor
【文件预览】:
falcon-swagger-ui-master
----setup.py(1KB)
----.gitignore(152B)
----requirements.txt(5B)
----LICENSE(1KB)
----setup.cfg(41B)
----static()
--------v1()
----example.py(794B)
----README.rst(3KB)
----falcon_swagger_ui()
--------templates()
--------__init__.py(65B)
--------dist()
--------resources.py(3KB)