Skip to content

Commit 9389d4d

Browse files
committed
fix: api title doc updated
1 parent f21f28e commit 9389d4d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ def custom_openapi():
8686
openapi_schema = get_openapi(
8787
title="Pattern-Core API",
8888
version="1.0.0",
89-
description="Pattern Core API Documentation for creating user, workspace, project, tool, and conversation.",
89+
description="Pattern Core API Documentation for:\n"
90+
"- CRUD user, workspace, project, and conversation\n"
91+
"- Sending message to agent\n"
92+
"- Managing user query usage",
9093
routes=app.routes,
9194
)
9295

src/query_usage/routers/query_usage_router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ def get_query_usage(
110110
@router.get(
111111
"",
112112
response_model=GlobalResponse[TodayQueryUsage, Dict],
113-
summary="Get user query usage",
113+
summary="Get User Daily Query Usage",
114114
description="Get number of used and total number of allowed query for a user",
115115
response_description="Number of used and total number of allowed query for a user",
116116
responses={
117117
429: {
118118
"model": ExceptionResponse,
119-
"description": "Not enough balance"
119+
"description": "Not credit to use service"
120120
},
121121
400: {
122122
"model": ExceptionResponse,

0 commit comments

Comments
 (0)