1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-05-25 01:47:45 +09:00
parent 9b89648eda
commit ddfe40e521
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
6 changed files with 49 additions and 46 deletions

View file

@ -1,6 +1,11 @@
components: components:
schemas: {} schemas: {}
securitySchemes: securitySchemes:
AuthType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
CookieAuthToken: CookieAuthToken:
description: HttpOnly cookie description: HttpOnly cookie
in: cookie in: cookie
@ -16,11 +21,6 @@ components:
in: header in: header
name: x-csrf-token name: x-csrf-token
type: apiKey type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
info: info:
contact: contact:
email: yuki@yuki0311.com email: yuki@yuki0311.com
@ -84,13 +84,10 @@ paths:
/other: /other:
$ref: ./paths/other.yaml#/paths/~1other $ref: ./paths/other.yaml#/paths/~1other
security: security:
- bearerAuth: []
- CsrfToken: [] - CsrfToken: []
- ActiveUser: []
- AuthType: []
- ClientLanguage: []
- CookieAuthToken: []
- CookieCt0: [] - CookieCt0: []
- CookieAuthToken: []
- AuthType: []
servers: servers:
- url: https://twitter.com/i/api - url: https://twitter.com/i/api
tags: tags:

View file

@ -6,6 +6,11 @@ components:
in: header in: header
name: x-twitter-active-user name: x-twitter-active-user
type: apiKey type: apiKey
AuthType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
BearerAuth: BearerAuth:
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
scheme: bearer scheme: bearer
@ -36,11 +41,6 @@ components:
in: header in: header
name: user-agent name: user-agent
type: apiKey type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
info: info:
contact: contact:
email: yuki@yuki0311.com email: yuki@yuki0311.com
@ -104,13 +104,14 @@ paths:
/other: /other:
$ref: ./paths/other.yaml#/paths/~1other $ref: ./paths/other.yaml#/paths/~1other
security: security:
- bearerAuth: []
- CsrfToken: [] - CsrfToken: []
- ActiveUser: []
- AuthType: []
- ClientLanguage: []
- CookieAuthToken: []
- CookieCt0: [] - CookieCt0: []
- CookieAuthToken: []
- AuthType: []
- UserAgent: []
- BearerAuth: []
- ActiveUser: []
- ClientLanguage: []
servers: servers:
- url: https://twitter.com/i/api - url: https://twitter.com/i/api
tags: tags:

View file

@ -6,6 +6,11 @@ components:
in: header in: header
name: x-twitter-active-user name: x-twitter-active-user
type: apiKey type: apiKey
AuthType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
BearerAuth: BearerAuth:
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
scheme: bearer scheme: bearer
@ -36,11 +41,6 @@ components:
in: header in: header
name: user-agent name: user-agent
type: apiKey type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
info: info:
contact: contact:
email: yuki@yuki0311.com email: yuki@yuki0311.com
@ -104,13 +104,14 @@ paths:
/other: /other:
$ref: ./paths/other.yaml#/paths/~1other $ref: ./paths/other.yaml#/paths/~1other
security: security:
- bearerAuth: []
- CsrfToken: [] - CsrfToken: []
- ActiveUser: []
- AuthType: []
- ClientLanguage: []
- CookieAuthToken: []
- CookieCt0: [] - CookieCt0: []
- CookieAuthToken: []
- AuthType: []
- UserAgent: []
- BearerAuth: []
- ActiveUser: []
- ClientLanguage: []
servers: servers:
- url: https://twitter.com/i/api - url: https://twitter.com/i/api
tags: tags:

View file

@ -6,6 +6,11 @@ components:
in: header in: header
name: x-twitter-active-user name: x-twitter-active-user
type: apiKey type: apiKey
AuthType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
BearerAuth: BearerAuth:
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
scheme: bearer scheme: bearer
@ -36,11 +41,6 @@ components:
in: header in: header
name: user-agent name: user-agent
type: apiKey type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
info: info:
contact: contact:
email: yuki@yuki0311.com email: yuki@yuki0311.com
@ -104,13 +104,14 @@ paths:
/other: /other:
$ref: ./paths/other.yaml#/paths/~1other $ref: ./paths/other.yaml#/paths/~1other
security: security:
- bearerAuth: []
- CsrfToken: [] - CsrfToken: []
- ActiveUser: []
- AuthType: []
- ClientLanguage: []
- CookieAuthToken: []
- CookieCt0: [] - CookieCt0: []
- CookieAuthToken: []
- AuthType: []
- UserAgent: []
- BearerAuth: []
- ActiveUser: []
- ClientLanguage: []
servers: servers:
- url: https://twitter.com/i/api - url: https://twitter.com/i/api
tags: tags:

View file

@ -59,3 +59,9 @@ components:
in: header in: header
name: x-twitter-client-language name: x-twitter-client-language
type: apiKey type: apiKey
security:
- UserAgent: []
- BearerAuth: []
- ActiveUser: []
- ClientLanguage: []

View file

@ -36,20 +36,17 @@ components:
name: auth_token name: auth_token
description: "HttpOnly cookie" description: "HttpOnly cookie"
authType: AuthType:
type: apiKey type: apiKey
in: header in: header
name: x-twitter-auth-type name: x-twitter-auth-type
description: "OAuth2Session if you are logged in" description: "OAuth2Session if you are logged in"
security: security:
- bearerAuth: []
- CsrfToken: [] - CsrfToken: []
- ActiveUser: []
- AuthType: []
- ClientLanguage: []
- CookieAuthToken: []
- CookieCt0: [] - CookieCt0: []
- CookieAuthToken: []
- AuthType: []
tags: tags:
- name: user - name: user
description: response User description: response User