Update API specifications with fern api update (#2951)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Shuchang Zheng
2025-07-15 02:01:23 -07:00
committed by GitHub
parent 3f21221b02
commit 01710a4c52
88 changed files with 1470 additions and 54 deletions

View File

@@ -34,14 +34,7 @@ async def parse_totp_code(content: str) -> str | None:
return code_resp.get("code", None)
@legacy_base_router.post(
"/totp",
tags=["agent"],
openapi_extra={
"x-fern-sdk-method-name": "send_totp_code",
"x-fern-examples": [{"code-samples": [{"sdk": "python", "code": SEND_TOTP_CODE_CODE_SAMPLE}]}],
},
)
@legacy_base_router.post("/totp")
@legacy_base_router.post("/totp/", include_in_schema=False)
@base_router.post(
"/credentials/totp",
@@ -51,6 +44,7 @@ async def parse_totp_code(content: str) -> str | None:
tags=["Credentials"],
openapi_extra={
"x-fern-sdk-method-name": "send_totp_code",
"x-fern-examples": [{"code-samples": [{"sdk": "python", "code": SEND_TOTP_CODE_CODE_SAMPLE}]}],
},
)
@base_router.post(