no 1password token create & get in the official api schema (#3190)
This commit is contained in:
@@ -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/",
|
||||||
|
|||||||
Reference in New Issue
Block a user