Skip to content

Add missing required and drop unnecessary required#126

Draft
Yang-33 wants to merge 15 commits into
mainfrom
required-optionals
Draft

Add missing required and drop unnecessary required#126
Yang-33 wants to merge 15 commits into
mainfrom
required-optionals

Conversation

@Yang-33

@Yang-33 Yang-33 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

There is an inconsistency between the OpenAPI specification (and generated SDKs) and the actual API behavior.
This change updates the required or optional annotations to match the actual behavior.

The behavior of the Messaging API itself is unchanged at all. This is purely a bug fix for the OpenAPI spec and the generated SDKs.

Affected methods

operationId parameter fix
createAudienceGroup description missing required
createAudienceForUploadingUserIds description missing required
addAudienceToAudienceGroup audienceGroupId missing required
- audiences missing required
addUserIdsToAudience audienceGroupId missing required
createClickBasedAudienceGroup description missing required
- requestId missing required
createImpBasedAudienceGroup description missing required
- requestId missing required
updateAudienceGroupDescription description missing required
getNumberOfFollowers date incorrectly marked as optional
createRichMenu / validateRichMenuObject size, selected, name, chatBarText, areas missing required
createCoupon reward missing required
getSharedAudienceGroups page incorrectly marked as required

@github-actions

Copy link
Copy Markdown

PHP

You can check generated code in php

Check the diff here

@github-actions

Copy link
Copy Markdown

JAVA

You can check generated code in java

Check the diff here

@github-actions

Copy link
Copy Markdown

NODEJS

You can check generated code in nodejs

Check the diff here

@github-actions

Copy link
Copy Markdown

GO

You can check generated code in go

Check the diff here

@github-actions

Copy link
Copy Markdown

PYTHON

You can check generated code in python

Check the diff here

@github-actions

Copy link
Copy Markdown

RUBY

You can check generated code in ruby

Check the diff here

@Yang-33

Yang-33 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

I'll prepare the test changes for some repositories first, then open the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant