Codes are generated by openapi generator - #877
Closed
github-actions[bot] wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 27, 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.
This was referenced Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.