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:
parent
5607828db9
commit
785a6791b8
2 changed files with 6 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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: []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue