Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion line-openapi
12 changes: 6 additions & 6 deletions linebot/v3/oauth/api/async_channel_access_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions linebot/v3/oauth/api/channel_access_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions linebot/v3/oauth/docs/ChannelAccessToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down