Repository navigation
Commit de8bd9e
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments