1
Fork 0
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:
ふぁ 2023-06-13 09:45:08 +09:00 committed by GitHub
commit 88b6cd5637
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: