Skip to content

Codes are generated by openapi generator - #877

Closed
github-actions[bot] wants to merge 1 commit into
masterfrom
update-diff-20260727171250
Closed

Codes are generated by openapi generator#877
github-actions[bot] wants to merge 1 commit into
masterfrom
update-diff-20260727171250

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This doc change comes from an openapi-generator bug fix: older versions leaked the description.

However, the current description is actually the correct.
We will fix the description on the line-openapi side instead, so closing this PR.

@mokuzon mokuzon closed this Jul 27, 2026
@mokuzon mokuzon reopened this Jul 27, 2026
@mokuzon mokuzon closed this Jul 28, 2026
@mokuzon mokuzon self-assigned this Jul 28, 2026
pull Bot pushed a commit to weiyilai/line-openapi that referenced this pull request Jul 28, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant