update latest openapi (#1994)

This commit is contained in:
Shuchang Zheng 2025-03-21 15:53:11 -07:00 committed by GitHub
parent 4f9af0d797
commit 4f37078433
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 817 additions and 723 deletions

File diff suppressed because it is too large Load diff

View file

@ -11,9 +11,16 @@ LOG = structlog.get_logger()
totp_router = APIRouter() totp_router = APIRouter()
@totp_router.post("") @totp_router.post(
"",
tags=["agent"],
openapi_extra={
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "send_totp_code",
},
)
@totp_router.post("/", include_in_schema=False) @totp_router.post("/", include_in_schema=False)
async def save_totp_code( async def send_totp_code(
data: TOTPCodeCreate, curr_org: Organization = Depends(org_auth_service.get_current_org) data: TOTPCodeCreate, curr_org: Organization = Depends(org_auth_service.get_current_org)
) -> TOTPCode: ) -> TOTPCode:
LOG.info( LOG.info(