mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
buid
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
14ecb9a5f4
commit
20816336e5
6 changed files with 16 additions and 2 deletions
6
dist/schemas/tweet.yaml
vendored
6
dist/schemas/tweet.yaml
vendored
|
|
@ -122,15 +122,21 @@ components:
|
|||
- retweeted
|
||||
- user_id_str
|
||||
- id_str
|
||||
TweetTombstone:
|
||||
properties:
|
||||
__typename:
|
||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
TweetUnion:
|
||||
discriminator:
|
||||
mapping":
|
||||
Tweet: '#/components/schemas/Tweet'
|
||||
TweetTombstone: '#/components/schemas/TweetTombstone'
|
||||
TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
|
||||
propertyName: __typename
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/Tweet'
|
||||
- $ref: '#/components/schemas/TweetWithVisibilityResults'
|
||||
- $ref: '#/components/schemas/TweetTombstone'
|
||||
TweetWithVisibilityResults:
|
||||
properties:
|
||||
__typename:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue