Skip to content

Commit

Permalink
Merge pull request #74 from fa0311/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
fa0311 authored Oct 30, 2024
2 parents 0064f44 + e8f6402 commit a4947b3
Show file tree
Hide file tree
Showing 10 changed files with 404 additions and 217 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Get Openapi Generator
run: |
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.0.jar -O openapi-generator-cli.jar --no-verbose
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar --no-verbose
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'

# Python Setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Get Openapi Generator
run: |
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.0.jar -O openapi-generator-cli.jar --no-verbose
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar --no-verbose
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'

# Python Setup
Expand Down
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"command": [
"python3 -m venv .venv;",
".venv/bin/python3 -m pip install -r requirements.txt;",
"wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.8.0/openapi-generator-cli-7.8.0.jar -O openapi-generator-cli.jar;"
"wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar;"
]
},
"windows": {
"command": [
"python -m venv .venv;",
".venv/Scripts/python -m pip install -r requirements.txt;",
"Invoke-WebRequest https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.8.0/openapi-generator-cli-7.8.0.jar -OutFile openapi-generator-cli.jar;"
"Invoke-WebRequest https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -OutFile openapi-generator-cli.jar;"
]
}
}
Expand Down
161 changes: 96 additions & 65 deletions dist/compatible/openapi-3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,7 @@ components:
- Sparkle
- Conversation
- List
- Community
type: string
landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl'
Expand Down Expand Up @@ -2913,8 +2914,6 @@ components:
properties:
user:
$ref: '#/components/schemas/UserResults'
required:
- user
UserResultByScreenName:
properties:
id:
Expand Down Expand Up @@ -3211,7 +3210,7 @@ components:
type: apiKey
UserAgent:
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/129.0.0.0 Safari/537.36
Gecko) Chrome/130.0.0.0 Safari/537.36
in: header
name: user-agent
type: apiKey
Expand Down Expand Up @@ -4002,8 +4001,8 @@ paths:
name: pathQueryId
required: true
schema:
default: QUjXply7fA7fk05FRyajEg
example: QUjXply7fA7fk05FRyajEg
default: L7vvM2UluPgWOW4GDvWyvw
example: L7vvM2UluPgWOW4GDvWyvw
type: string
- in: query
name: variables
Expand Down Expand Up @@ -4788,8 +4787,8 @@ paths:
name: pathQueryId
required: true
schema:
default: LLkw5EcVutJL6y-2gkz22A
example: LLkw5EcVutJL6y-2gkz22A
default: riUYr3PwuHNe4tCmzjPNrg
example: riUYr3PwuHNe4tCmzjPNrg
type: string
- in: query
name: variables
Expand All @@ -4804,30 +4803,34 @@ paths:
name: features
required: true
schema:
default: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
default: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
false, "freedom_of_speech_not_reach_fetch_enabled": true, "standardized_nudges_misinfo":
true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
true, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
false, "responsive_web_enhance_cards_enabled": false}'
example: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
false, "freedom_of_speech_not_reach_fetch_enabled": true, "standardized_nudges_misinfo":
true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
true, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
false, "responsive_web_enhance_cards_enabled": false}'
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
Expand Down Expand Up @@ -5144,8 +5147,8 @@ paths:
name: pathQueryId
required: true
schema:
default: DiTkXJgLqBBxCs7zaYsbtA
example: DiTkXJgLqBBxCs7zaYsbtA
default: HyuV8ml52TYmyUjyrDq1CQ
example: HyuV8ml52TYmyUjyrDq1CQ
type: string
- in: query
name: variables
Expand Down Expand Up @@ -5234,19 +5237,19 @@ paths:
name: pathQueryId
required: true
schema:
default: HJFjzBgCs16TqxewQOeLNg
example: HJFjzBgCs16TqxewQOeLNg
default: E6AtJXVPtK7nIHAntKc5fA
example: E6AtJXVPtK7nIHAntKc5fA
type: string
- in: query
name: variables
required: true
schema:
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
["1349129669258448897"]}'
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
"withCommunity": true}'
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
["1349129669258448897"]}'
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
"withCommunity": true}'
type: string
- in: query
name: features
Expand Down Expand Up @@ -5326,8 +5329,8 @@ paths:
name: pathQueryId
required: true
schema:
default: aeJWz--kknVBOl7wQ7gh7Q
example: aeJWz--kknVBOl7wQ7gh7Q
default: px6_YxfWkXo0odY84iqqmw
example: px6_YxfWkXo0odY84iqqmw
type: string
- in: query
name: variables
Expand Down Expand Up @@ -5373,6 +5376,13 @@ paths:
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: fieldToggles
required: true
schema:
default: '{"withArticlePlainText": false}'
example: '{"withArticlePlainText": false}'
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -5418,8 +5428,8 @@ paths:
name: pathQueryId
required: true
schema:
default: Pa45JvqZuKcW1plybfgBlQ
example: Pa45JvqZuKcW1plybfgBlQ
default: f-Lsj0rHCztXcgdo585UUw
example: f-Lsj0rHCztXcgdo585UUw
type: string
- in: query
name: variables
Expand Down Expand Up @@ -5566,8 +5576,8 @@ paths:
name: pathQueryId
required: true
schema:
default: 8019obfgnveiPiJuS2Rtow
example: 8019obfgnveiPiJuS2Rtow
default: rPcOnVhyaTBQrVgPuY7x7A
example: rPcOnVhyaTBQrVgPuY7x7A
type: string
- in: query
name: variables
Expand Down Expand Up @@ -5656,8 +5666,8 @@ paths:
name: pathQueryId
required: true
schema:
default: UN1i3zUiCWa-6r-Uaho4fw
example: UN1i3zUiCWa-6r-Uaho4fw
default: MJpyQGqgklrVl_0X9gNy3A
example: MJpyQGqgklrVl_0X9gNy3A
type: string
- in: query
name: variables
Expand Down Expand Up @@ -5746,21 +5756,21 @@ paths:
name: pathQueryId
required: true
schema:
default: QuBlQ6SxNAQCt6-kBiCXCQ
example: QuBlQ6SxNAQCt6-kBiCXCQ
default: nBS-WpgA6ZG0CyNHD517JQ
example: nBS-WpgA6ZG0CyNHD517JQ
type: string
- in: query
name: variables
required: true
schema:
default: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
true}'
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
true, "withVoice": true}'
example: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
true}'
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
true, "withVoice": true}'
type: string
- in: query
name: features
Expand Down Expand Up @@ -5800,9 +5810,9 @@ paths:
required: true
schema:
default: '{"withArticleRichContentState": true, "withArticlePlainText":
false}'
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
example: '{"withArticleRichContentState": true, "withArticlePlainText":
false}'
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
type: string
responses:
'200':
Expand Down Expand Up @@ -6096,15 +6106,15 @@ paths:
name: pathQueryId
required: true
schema:
default: Yka-W8dz7RaEuQNkroPkYw
example: Yka-W8dz7RaEuQNkroPkYw
default: BQ6xjFU6Mgm-WhEP3OiT9w
example: BQ6xjFU6Mgm-WhEP3OiT9w
type: string
- in: query
name: variables
required: true
schema:
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
default: '{"screen_name": "elonmusk"}'
example: '{"screen_name": "elonmusk"}'
type: string
- in: query
name: features
Expand Down Expand Up @@ -6269,8 +6279,8 @@ paths:
name: pathQueryId
required: true
schema:
default: dexO_2tohK86JDudXXG3Yw
example: dexO_2tohK86JDudXXG3Yw
default: HaouMjBviBKKTYZGV_9qtg
example: HaouMjBviBKKTYZGV_9qtg
type: string
- in: query
name: variables
Expand Down Expand Up @@ -6316,6 +6326,13 @@ paths:
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: fieldToggles
required: true
schema:
default: '{"withArticlePlainText": false}'
example: '{"withArticlePlainText": false}'
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -6361,8 +6378,8 @@ paths:
name: pathQueryId
required: true
schema:
default: E3opETHurmVJflFsUBVuUQ
example: E3opETHurmVJflFsUBVuUQ
default: Tg82Ez_kxVaJf7OPbUdbCg
example: Tg82Ez_kxVaJf7OPbUdbCg
type: string
- in: query
name: variables
Expand Down Expand Up @@ -6408,6 +6425,13 @@ paths:
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: fieldToggles
required: true
schema:
default: '{"withArticlePlainText": false}'
example: '{"withArticlePlainText": false}'
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -6453,8 +6477,8 @@ paths:
name: pathQueryId
required: true
schema:
default: bt4TKuFz4T7Ckk-VvQVSow
example: bt4TKuFz4T7Ckk-VvQVSow
default: HmWGzuzXoI6uFqqX6QNhEg
example: HmWGzuzXoI6uFqqX6QNhEg
type: string
- in: query
name: variables
Expand Down Expand Up @@ -6498,6 +6522,13 @@ paths:
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: fieldToggles
required: true
schema:
default: '{"withArticlePlainText": false}'
example: '{"withArticlePlainText": false}'
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -6543,8 +6574,8 @@ paths:
name: pathQueryId
required: true
schema:
default: GYBpHkmyXjeuX9IeNJmweA
example: GYBpHkmyXjeuX9IeNJmweA
default: lc85bOG5T3IIS4u485VtBg
example: lc85bOG5T3IIS4u485VtBg
type: string
- in: query
name: variables
Expand Down
Loading

0 comments on commit a4947b3

Please sign in to comment.