Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions backend/apps/swagger/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ def load_translation(lang: str) -> Dict[str, str]:
"name": "system_assistant",
"description": f"{PLACEHOLDER_PREFIX}system_assistant_api"
},
{
"name": "system_embedded",
"description": f"{PLACEHOLDER_PREFIX}system_embedded_api"
},
{
"name": "system_authentication",
"description": f"{PLACEHOLDER_PREFIX}system_authentication_api"
},
{ "name": "Table Relation",
"description": f"{PLACEHOLDER_PREFIX}tr_api"
},
Expand Down
8 changes: 8 additions & 0 deletions backend/apps/swagger/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@
"assistant_type": "Assistant Type (0: Basic, 1: Advanced, 4: Page)",
"assistant_configuration": "Configuration",
"assistant_description": "Description",

"system_embedded_api": "Page Embedded API",
"embedded_resetsecret_api": "Reset Secret",

"system_authentication_api": "Authentication Settings API",
"authentication_enable_api": "Enable Authentication",
"authentication_status_api": "Get Authentication Status",
"authentication_validate_api": "Validate Authentication",

"per_api": "Data Permission",
"per_save": "Save Permission",
Expand Down
8 changes: 8 additions & 0 deletions backend/apps/swagger/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@
"assistant_configuration": "配置",
"assistant_description": "描述",

"system_embedded_api": "页面嵌入式api",
"embedded_resetsecret_api": "重置 Secret",

"system_authentication_api": "认证设置api",
"authentication_enable_api": "设置开启",
"authentication_status_api": "查询状态",
"authentication_validate_api": "校验状态",

"per_api": "数据权限",
"per_save": "保存权限",
"per_delete": "删除权限",
Expand Down
2 changes: 1 addition & 1 deletion backend/apps/system/api/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from apps.system.schemas.permission import SqlbotPermission, require_permissions
from common.core.deps import SessionDep

router = APIRouter(tags=["system/parameter"], prefix="/system/parameter")
router = APIRouter(tags=["system/parameter"], prefix="/system/parameter", include_in_schema=False)

@router.get("/login")
async def get_login_args(session: SessionDep) -> list[SysArgModel]:
Expand Down