From ee2a8be91f693d4c7c4bf281bd523c869278a48e Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 28 Jul 2026 05:44:09 +0000 Subject: [PATCH] Code are generated by openapi generator --- line-openapi | 2 +- linebot/v3/oauth/api/async_channel_access_token.py | 12 ++++++------ linebot/v3/oauth/api/channel_access_token.py | 8 ++++---- linebot/v3/oauth/docs/ChannelAccessToken.md | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/line-openapi b/line-openapi index 99df56b7..de8bd9e2 160000 --- a/line-openapi +++ b/line-openapi @@ -1 +1 @@ -Subproject commit 99df56b76bf1b8a8268456fa36c2d1538b4c086c +Subproject commit de8bd9e2872ed9d9800e23b86136695fcd370a0c diff --git a/linebot/v3/oauth/api/async_channel_access_token.py b/linebot/v3/oauth/api/async_channel_access_token.py index cad33385..d1142fb7 100644 --- a/linebot/v3/oauth/api/async_channel_access_token.py +++ b/linebot/v3/oauth/api/async_channel_access_token.py @@ -759,15 +759,15 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[Op _request_auth=_params.get('_request_auth')) @overload - async def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> None: # noqa: E501 + async def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> None: # noqa: E501 ... @overload - def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], async_req: Optional[bool]=True, **kwargs) -> None: # noqa: E501 + def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], async_req: Optional[bool]=True, **kwargs) -> None: # noqa: E501 ... @validate_arguments - def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 + def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 """revoke_channel_token # noqa: E501 Revoke short-lived or long-lived channel access token # noqa: E501 @@ -777,7 +777,7 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de >>> thread = api.revoke_channel_token(access_token, async_req=True) >>> result = thread.get() - :param access_token: Channel access token (required) + :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -798,7 +798,7 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de return self.revoke_channel_token_with_http_info(access_token, **kwargs) # noqa: E501 @validate_arguments - def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 + def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> ApiResponse: # noqa: E501 """revoke_channel_token # noqa: E501 Revoke short-lived or long-lived channel access token # noqa: E501 @@ -808,7 +808,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr >>> thread = api.revoke_channel_token_with_http_info(access_token, async_req=True) >>> result = thread.get() - :param access_token: Channel access token (required) + :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional diff --git a/linebot/v3/oauth/api/channel_access_token.py b/linebot/v3/oauth/api/channel_access_token.py index 9fbc4833..de87a2b1 100644 --- a/linebot/v3/oauth/api/channel_access_token.py +++ b/linebot/v3/oauth/api/channel_access_token.py @@ -717,7 +717,7 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[Op _request_auth=_params.get('_request_auth')) @validate_arguments - def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> None: # noqa: E501 + def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> None: # noqa: E501 """revoke_channel_token # noqa: E501 Revoke short-lived or long-lived channel access token # noqa: E501 @@ -727,7 +727,7 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de >>> thread = api.revoke_channel_token(access_token, async_req=True) >>> result = thread.get() - :param access_token: Channel access token (required) + :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -746,7 +746,7 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de return self.revoke_channel_token_with_http_info(access_token, **kwargs) # noqa: E501 @validate_arguments - def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 + def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> ApiResponse: # noqa: E501 """revoke_channel_token # noqa: E501 Revoke short-lived or long-lived channel access token # noqa: E501 @@ -756,7 +756,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr >>> thread = api.revoke_channel_token_with_http_info(access_token, async_req=True) >>> result = thread.get() - :param access_token: Channel access token (required) + :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional diff --git a/linebot/v3/oauth/docs/ChannelAccessToken.md b/linebot/v3/oauth/docs/ChannelAccessToken.md index 2155b882..cac4db2a 100644 --- a/linebot/v3/oauth/docs/ChannelAccessToken.md +++ b/linebot/v3/oauth/docs/ChannelAccessToken.md @@ -325,7 +325,7 @@ configuration = linebot.v3.oauth.Configuration( with linebot.v3.oauth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = linebot.v3.oauth.ChannelAccessToken(api_client) - access_token = 'access_token_example' # str | Channel access token + access_token = 'access_token_example' # str | A short-lived or long-lived channel access token. try: api_instance.revoke_channel_token(access_token) @@ -338,7 +338,7 @@ with linebot.v3.oauth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **access_token** | **str**| Channel access token | + **access_token** | **str**| A short-lived or long-lived channel access token. | ### Return type