Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/openapi/schemas/tweet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ components:
$ref: "./typename.yaml#/components/schemas/TypeName" # ContextualTweetInterstitial
displayType:
type: string
enum: [NonCompliant]
enum: [NonCompliant, EntireTweet]
text:
$ref: "#/components/schemas/TweetInterstitialText"
revealText:
Expand Down Expand Up @@ -277,7 +277,6 @@ components:

NoteTweet:
required:
- "is_expandable"
- "note_tweet_results"
properties:
is_expandable:
Expand Down Expand Up @@ -452,7 +451,7 @@ components:
CommunityData:
required:
- "__typename"
- "id_str"
# - "id_str"
# - "name"
# - "description"
# - "search_tags"
Expand Down Expand Up @@ -1432,7 +1431,6 @@ components:
- "id"
- "title"
- "preview_text"
- "cover_media"
- "metadata"
properties:
rest_id:
Expand All @@ -1450,6 +1448,8 @@ components:
$ref: "#/components/schemas/ArticleMetadata"
lifecycle_state:
$ref: "#/components/schemas/ArticleLifecycleState"
# todo: content_state (#101)
# todo: media_entities (#101)

ArticleCoverMedia:
required:
Expand Down
1 change: 1 addition & 0 deletions src/openapi/schemas/typename.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ components:
CommunityTweetUnpinActionUnavailable,
CommunityInvitesUnavailable,
CommunityJoinRequestsUnavailable,
CommunityUnavailable,
ApiImage,
]
2 changes: 1 addition & 1 deletion src/openapi/schemas/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ components:
type: boolean
parody_commentary_fan_label:
type: string
enum: ["None", "Parody", "Commentary"]
enum: ["None", "Parody", "Commentary", "Fan"]

UserProfessional:
required:
Expand Down