mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
Merge pull request #6 from thecodrr/feature/card-support
Add card to tweet
This commit is contained in:
commit
88b6cd5637
1 changed files with 38 additions and 0 deletions
|
|
@ -53,6 +53,44 @@ components:
|
|||
pattern: "^[0-9]+$"
|
||||
core:
|
||||
$ref: "./user.yaml#/components/schemas/UserResultCore"
|
||||
card:
|
||||
type: object
|
||||
properties:
|
||||
rest_id: string
|
||||
legacy:
|
||||
type: object
|
||||
required:
|
||||
- "binding_values"
|
||||
- "name"
|
||||
- "url"
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
url:
|
||||
type: string
|
||||
binding_values:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- "key"
|
||||
- "value"
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
value:
|
||||
type: object
|
||||
required:
|
||||
- "type"
|
||||
properties:
|
||||
string_value:
|
||||
type: string
|
||||
boolean_value:
|
||||
type: boolean
|
||||
scribe_key:
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
unmention_data:
|
||||
type: object # todo
|
||||
edit_control:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue