From 72303f483711c9596ac3542ff73ef737343c782a Mon Sep 17 00:00:00 2001 From: BryantHe Date: Fri, 18 Aug 2023 18:45:57 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20api=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=BD=BF=E7=94=A8=20redoc?= =?UTF-8?q?=20=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index a5f3c47..55dd41a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -37,7 +37,7 @@ def load_rpc_client(apiflask_app): def create_app(): # http wsgi server 托管启动需指定读取环境配置 # load_dotenv(os.path.join(basedir, '.apiflaskenv')) - app = APIFlask(__name__, title='Body Record API', version='1.0.0') + app = APIFlask(__name__, title='Body Record API', version='1.0.0', docs_ui='redoc') load_app_config(app) register_blueprints(app) load_rpc_client(app)