Add missing required and drop unnecessary required - #126
Conversation
|
I'll prepare the test changes for some repositories first, then open the PR. |
|
This pull request was closed because it has been inactive for 14 days. Please reopen if you still intend to submit this pull request, or submit issues at first. |
|
This pull request was closed because it has been inactive for 14 days. Please reopen if you still intend to submit this pull request, or submit issues at first. |
For form parameters, `undefined` values are not always omitted. This change fixes that behavior. Also, `description` is required for the `createAudienceForUploadingUserIds` API, but our OpenAPI definition appears to be incorrect. I will fix that separately in PR line/line-openapi#126. For now, let's merge this change first.
|
This pull request was closed because it has been inactive for 14 days. Please reopen if you still intend to submit this pull request, or submit issues at first. |
JAVAYou can check generated code in java |
NODEJSYou can check generated code in nodejs |
PHPYou can check generated code in php |
PYTHONYou can check generated code in python |
RUBYYou can check generated code in ruby |
GOYou can check generated code in go |
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
createAudienceGroupdescriptioncreateAudienceForUploadingUserIdsdescriptionaddAudienceToAudienceGroupaudienceGroupIdaudiencesaddUserIdsToAudienceaudienceGroupIdcreateClickBasedAudienceGroupdescriptionrequestIdcreateImpBasedAudienceGroupdescriptionrequestIdupdateAudienceGroupDescriptiondescriptiongetNumberOfFollowersdatecreateRichMenu/validateRichMenuObjectsize,selected,name,chatBarText,areascreateCouponrewardgetSharedAudienceGroupspagebot sdks we must fix
we must fix test depending on this.
go, ruby, nodejs, java are affected. line-openapi-126-prepare branch has this fix.
also 5c8b8c4 tested these remote branches, and https://github.com/line/line-openapi/actions/runs/31403474364?pr=126 showed all jobs were passed.