Skip to content

Commit de8bd9e

Browse files
authored
Fix access_token description in revokeChannelToken (#130)
There was an openapi-generator bug (OpenAPITools/openapi-generator#24004, fixed in v7.24.0 via OpenAPITools/openapi-generator#24192). It generated `revokeChannelToken`'s `access_token` doc as `A short-lived or long-lived channel access token.` instead of this spec's `Channel access token`, and the SDKs merged it. With v7.24.0, regeneration now tries to revert it: - line/line-bot-sdk-ruby#877 - line/line-bot-sdk-nodejs#1751 - line/line-bot-sdk-php#879 Since the current SDK wording is correct for this endpoint (`POST /v2/oauth/revoke` only accepts short-lived or long-lived tokens), this PR updates the spec to match it instead. - https://developers.line.biz/en/reference/messaging-api/#revoke-longlived-or-shortlived-channel-access-token - The endpoint section is titled "Revoke short-lived or long-lived channel access token". The regeneration diff disappears and the PRs above stay closed.
1 parent 99df56b commit de8bd9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎channel-access-token.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ paths:
284284
type: object
285285
properties:
286286
access_token:
287-
description: "Channel access token"
287+
description: "A short-lived or long-lived channel access token."
288288
type: string
289289
required:
290290
- access_token

0 commit comments

Comments
 (0)