refactor: 生物由来APIルーターの名前を修正
This commit is contained in:
parent
d64be94d8d
commit
1a24f2675f
@ -1,4 +1,4 @@
|
|||||||
"""生物由来ファイルダウンロード APIRoute"""
|
"""生物由来照会 APIRoute"""
|
||||||
import datetime
|
import datetime
|
||||||
from typing import Optional, Union
|
from typing import Optional, Union
|
||||||
|
|
||||||
@ -5,7 +5,7 @@ from fastapi.staticfiles import StaticFiles
|
|||||||
from starlette import status
|
from starlette import status
|
||||||
|
|
||||||
import src.static as static
|
import src.static as static
|
||||||
from src.controller import (bio, bio_download, healthcheck, login, logout,
|
from src.controller import (bio, bio_api, healthcheck, login, logout,
|
||||||
master_mainte, menu, root, ultmarc)
|
master_mainte, menu, root, ultmarc)
|
||||||
from src.core import task
|
from src.core import task
|
||||||
from src.error.exception_handler import http_exception_handler
|
from src.error.exception_handler import http_exception_handler
|
||||||
@ -27,9 +27,9 @@ app.include_router(menu.router, prefix='/menu')
|
|||||||
app.include_router(bio.router, prefix='/bio')
|
app.include_router(bio.router, prefix='/bio')
|
||||||
# アルトマークデータ照会のルーター
|
# アルトマークデータ照会のルーター
|
||||||
app.include_router(ultmarc.router, prefix='/ultmarc')
|
app.include_router(ultmarc.router, prefix='/ultmarc')
|
||||||
# 生物由来のダウンロード用APIルーター。
|
# 生物由来照会のAPIルーター。
|
||||||
# クライアントから非同期呼出しされるため、共通ルーターとは異なる扱いとする。
|
# クライアントから非同期呼出しされるため、共通ルーターとは異なる扱いとする。
|
||||||
app.include_router(bio_download.router, prefix='/bio')
|
app.include_router(bio_api.router, prefix='/bio')
|
||||||
# マスタメンテ
|
# マスタメンテ
|
||||||
app.include_router(master_mainte.router, prefix='/masterMainte')
|
app.include_router(master_mainte.router, prefix='/masterMainte')
|
||||||
# ヘルスチェック用のルーター
|
# ヘルスチェック用のルーター
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user