1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-09 14:50:25 +01:00

Merge pull request #94 from fa0311/dev

Dev
This commit is contained in:
ふぁ 2025-05-27 03:21:56 +09:00 committed by GitHub
commit bc6ead9483
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 10 deletions

View file

@ -180,6 +180,7 @@ components:
- Member
- Moderator
- Admin
- NonMember
type: string
user_results:
$ref: '#/components/schemas/UserResults'
@ -875,8 +876,11 @@ components:
name:
type: string
path:
items: {}
type: list
items:
oneOf:
- type: string
- type: integer
type: array
retry_after:
type: integer
source:
@ -1962,7 +1966,7 @@ components:
- TimelineCoverBehaviorNavigate
type: string
url:
type: TimelineCoverBehaviorUrl
$ref: '#/components/schemas/TimelineCoverBehaviorUrl'
required:
- type
TimelineCoverBehaviorUrl:

View file

@ -180,6 +180,7 @@ components:
- Member
- Moderator
- Admin
- NonMember
type: string
user_results:
$ref: '#/components/schemas/UserResults'
@ -875,8 +876,11 @@ components:
name:
type: string
path:
items: {}
type: list
items:
oneOf:
- type: string
- type: integer
type: array
retry_after:
type: integer
source:
@ -1962,7 +1966,7 @@ components:
- TimelineCoverBehaviorNavigate
type: string
url:
type: TimelineCoverBehaviorUrl
$ref: '#/components/schemas/TimelineCoverBehaviorUrl'
required:
- type
TimelineCoverBehaviorUrl:

View file

@ -26,8 +26,11 @@ components:
items:
$ref: "#/components/schemas/Location"
path:
type: list
items: {} #List[Union[str,int]]
type: array
items:
oneOf:
- type: string
- type: integer
extensions:
$ref: "#/components/schemas/ErrorExtensions"
code:

View file

@ -285,7 +285,7 @@ components:
type: string
enum: [TimelineCoverBehaviorDismiss, TimelineCoverBehaviorNavigate]
url:
type: TimelineCoverBehaviorUrl
$ref: "#/components/schemas/TimelineCoverBehaviorUrl"
TimelineCoverBehaviorUrl:
required:

View file

@ -438,7 +438,7 @@ components:
$ref: "#/components/schemas/Community"
role:
type: string
enum: [Member, Moderator, Admin]
enum: [Member, Moderator, Admin, NonMember]
user_results:
$ref: "user.yaml#/components/schemas/UserResults"