1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00

remove AuthType in header

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-23 02:48:40 +09:00
parent 5607828db9
commit 785a6791b8
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 6 additions and 12 deletions

View file

@ -41,13 +41,6 @@ paths:
type: string
default: "yes"
description: "Unknown what this value means."
- name: x-twitter-auth-type
in: header
required: true
schema:
type: string
default: "OAuth2Session"
description: "Unknown what this value means."
- name: x-twitter-client-language
in: header
required: true

View file

@ -23,11 +23,6 @@ components:
# type: http
# scheme: bearer
# description: "AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"
# AuthType:
# type: apiKey
# in: header
# name: x-twitter-auth-type
# description: "OAuth2Session"
CsrfToken:
type: apiKey
@ -47,6 +42,12 @@ components:
name: auth_token
description: "HttpOnly cookie"
authType:
type: apiKey
in: header
name: x-twitter-auth-type
description: "OAuth2Session if you are logged in"
security:
- bearerAuth: []
- CsrfToken: []