ソースを参照

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 跨源资源共享