1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-06-13 09:50:31 +09:00
parent b3298f156b
commit 3756cc15c3
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 224 additions and 0 deletions

View file

@ -94,6 +94,44 @@ components:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
card:
properties:
legacy:
properties:
binding_values:
items:
properties:
key:
type: string
value:
properties:
boolean_value:
type: boolean
scribe_key:
type: string
string_value:
type: string
type:
type: string
required:
- type
type: object
required:
- key
- value
type: object
type: array
name:
type: string
url:
type: string
required:
- binding_values
- name
- url
type: object
rest_id: string
type: object
core:
$ref: ./user.yaml#/components/schemas/UserResultCore
edit_control:
@ -241,6 +279,24 @@ components:
- __typename
- tweet
Url:
properties:
display_url:
type: string
expanded_url:
format: uri
type: string
indices:
items:
type: integer
type: array
url:
format: uri
type: string
required:
- url
- indices
- expanded_url
- display_url
type: object
UserMention:
type: object