浏览代码

update openapi.json

Zhang Li 2 年之前
父节点
当前提交
6b6beaa0ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server.py

+ 1 - 1
server.py

@@ -22,7 +22,7 @@ from utils.sx_log import format_print
 
 format_print()
 Base.metadata.create_all(bind=engine)
-app = FastAPI(docs_url='/jpt/docs', redoc_url='/jpt/redoc', title="DAG In Airflow管理系统")
+app = FastAPI(docs_url='/jpt/docs', redoc_url='/jpt/redoc', openapi_url='/jpt/openapi.json', title="DAG In Airflow管理系统")
 
 
 # CORS 跨源资源共享