fix tagging to only assign one tag per endpoint
This commit is contained in:
parent
e737c3895c
commit
1c9d74407d
2 changed files with 4 additions and 4 deletions
|
|
@ -23,9 +23,9 @@ app.add_middleware(
|
|||
)
|
||||
|
||||
app.include_router(files.router, prefix=settings.API_V1_STR) # , tags=["files"]
|
||||
app.include_router(llm.router, prefix=settings.API_V1_STR, tags=["llm"]) # , tags=["llm"]
|
||||
app.include_router(search.router, prefix=settings.API_V1_STR, tags=["search"]) # , tags=["search"]
|
||||
app.include_router(configurations.router, prefix=settings.API_V1_STR, tags=["config"])
|
||||
app.include_router(llm.router, prefix=settings.API_V1_STR, tags=["llm"])
|
||||
app.include_router(search.router, prefix=settings.API_V1_STR, tags=["search"])
|
||||
app.include_router(configurations.router, prefix=settings.API_V1_STR, tags=["configurations"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from core.config import settings
|
|||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/configs", tags=["configurations"])
|
||||
@router.get("/configs")
|
||||
def get_configs():
|
||||
"""Get configurations of the backend"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue