From 14ecb9a5f4bede7418060365bcf70c65578ddb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Sun, 23 Apr 2023 02:49:10 +0900 Subject: [PATCH] build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/openapi-3.0.yaml | 5 +++++ dist/paths/bookmarks.yaml | 7 ------- dist/paths/follow.yaml | 14 -------------- dist/paths/profile.yaml | 7 ------- dist/paths/timeline.yaml | 21 --------------------- dist/paths/tweet.yaml | 7 ------- dist/paths/user.yaml | 7 ------- dist/paths/usertweets.yaml | 28 ---------------------------- 8 files changed, 5 insertions(+), 91 deletions(-) diff --git a/dist/openapi-3.0.yaml b/dist/openapi-3.0.yaml index 261684a..13e48f5 100644 --- a/dist/openapi-3.0.yaml +++ b/dist/openapi-3.0.yaml @@ -16,6 +16,11 @@ components: in: header name: x-csrf-token type: apiKey + authType: + description: OAuth2Session if you are logged in + in: header + name: x-twitter-auth-type + type: apiKey info: contact: email: yuki@yuki0311.com diff --git a/dist/paths/bookmarks.yaml b/dist/paths/bookmarks.yaml index b0f1328..ce54918 100644 --- a/dist/paths/bookmarks.yaml +++ b/dist/paths/bookmarks.yaml @@ -71,13 +71,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/follow.yaml b/dist/paths/follow.yaml index 00b396f..aace2c3 100644 --- a/dist/paths/follow.yaml +++ b/dist/paths/follow.yaml @@ -87,13 +87,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -201,13 +194,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/profile.yaml b/dist/paths/profile.yaml index b5fd6f0..120c20c 100644 --- a/dist/paths/profile.yaml +++ b/dist/paths/profile.yaml @@ -101,13 +101,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/timeline.yaml b/dist/paths/timeline.yaml index 1d91b5a..a6fd7f8 100644 --- a/dist/paths/timeline.yaml +++ b/dist/paths/timeline.yaml @@ -95,13 +95,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -209,13 +202,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -323,13 +309,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/tweet.yaml b/dist/paths/tweet.yaml index 0e840ba..8b5a3ec 100644 --- a/dist/paths/tweet.yaml +++ b/dist/paths/tweet.yaml @@ -68,13 +68,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/user.yaml b/dist/paths/user.yaml index 1f6be18..5d30f70 100644 --- a/dist/paths/user.yaml +++ b/dist/paths/user.yaml @@ -57,13 +57,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true diff --git a/dist/paths/usertweets.yaml b/dist/paths/usertweets.yaml index 1e15d0d..da55322 100644 --- a/dist/paths/usertweets.yaml +++ b/dist/paths/usertweets.yaml @@ -82,13 +82,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -197,13 +190,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -311,13 +297,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true @@ -426,13 +405,6 @@ paths: default: 'yes' description: Unknown what this value means. type: string - - in: header - name: x-twitter-auth-type - required: true - schema: - default: OAuth2Session - description: Unknown what this value means. - type: string - in: header name: x-twitter-client-language required: true