no 1password token create & get in the official api schema (#3190)

This commit is contained in:
Shuchang Zheng
2025-08-14 09:08:47 -07:00
committed by GitHub
parent 75603f4b98
commit 4b4240c6a7

View File

@@ -379,6 +379,7 @@ async def get_credentials(
response_model=CreateOnePasswordTokenResponse, response_model=CreateOnePasswordTokenResponse,
summary="Get OnePassword service account token", summary="Get OnePassword service account token",
description="Retrieves the current OnePassword service account token for the organization.", description="Retrieves the current OnePassword service account token for the organization.",
include_in_schema=False,
) )
@base_router.get( @base_router.get(
"/credentials/onepassword/get/", "/credentials/onepassword/get/",
@@ -424,6 +425,7 @@ async def get_onepassword_token(
response_model=CreateOnePasswordTokenResponse, response_model=CreateOnePasswordTokenResponse,
summary="Create or update OnePassword service account token", summary="Create or update OnePassword service account token",
description="Creates or updates a OnePassword service account token for the current organization. Only one valid token is allowed per organization.", description="Creates or updates a OnePassword service account token for the current organization. Only one valid token is allowed per organization.",
include_in_schema=False,
) )
@base_router.post( @base_router.post(
"/credentials/onepassword/create/", "/credentials/onepassword/create/",