1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-11-24 00:45:27 +09:00
parent 462cd08858
commit c55f94d6f2
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 27 additions and 27 deletions

View file

@ -543,7 +543,7 @@ components:
delete_action_result:
$ref: "#/components/schemas/CommunityDeleteActionResult"
join_action_result:
$ref: "#/components/schemas/CommunityJoinActionUnion"
$ref: "#/components/schemas/CommunityJoinActionResultUnion"
leave_action_result:
$ref: "#/components/schemas/CommunityLeaveActionResult"
pin_action_result:
@ -562,17 +562,17 @@ components:
type: string
enum: [Unavailable]
CommunityJoinActionUnion:
CommunityJoinActionResultUnion:
oneOf:
- $ref: "#/components/schemas/CommunityJoinActionResult"
- $ref: "#/components/schemas/CommunityJoinAction"
- $ref: "#/components/schemas/CommunityJoinActionUnavailable"
discriminator:
propertyName: __typename
mapping: # deprecated
CommunityJoinAction: "#/components/schemas/CommunityJoinActionResult"
CommunityJoinAction: "#/components/schemas/CommunityJoinAction"
CommunityJoinActionUnavailable: "#/components/schemas/CommunityJoinActionUnavailable"
CommunityJoinActionResult:
CommunityJoinAction:
required:
- "__typename"
properties: