1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +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

@ -314,7 +314,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:
@ -438,12 +438,21 @@ components:
- __typename
- reason
- message
CommunityJoinActionResult:
CommunityJoinAction:
properties:
__typename:
$ref: '#/components/schemas/TypeName'
required:
- __typename
CommunityJoinActionResultUnion:
discriminator:
mapping:
CommunityJoinAction: '#/components/schemas/CommunityJoinAction'
CommunityJoinActionUnavailable: '#/components/schemas/CommunityJoinActionUnavailable'
propertyName: __typename
oneOf:
- $ref: '#/components/schemas/CommunityJoinAction'
- $ref: '#/components/schemas/CommunityJoinActionUnavailable'
CommunityJoinActionUnavailable:
properties:
__typename:
@ -458,15 +467,6 @@ components:
- __typename
- reason
- message
CommunityJoinActionUnion:
discriminator:
mapping:
CommunityJoinAction: '#/components/schemas/CommunityJoinActionResult'
CommunityJoinActionUnavailable: '#/components/schemas/CommunityJoinActionUnavailable'
propertyName: __typename
oneOf:
- $ref: '#/components/schemas/CommunityJoinActionResult'
- $ref: '#/components/schemas/CommunityJoinActionUnavailable'
CommunityJoinRequestsResult:
properties:
__typename: