1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-03-07 04:29:55 +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 - Member
- Moderator - Moderator
- Admin - Admin
- NonMember
type: string type: string
user_results: user_results:
$ref: '#/components/schemas/UserResults' $ref: '#/components/schemas/UserResults'
@ -875,8 +876,11 @@ components:
name: name:
type: string type: string
path: path:
items: {} items:
type: list oneOf:
- type: string
- type: integer
type: array
retry_after: retry_after:
type: integer type: integer
source: source:
@ -1962,7 +1966,7 @@ components:
- TimelineCoverBehaviorNavigate - TimelineCoverBehaviorNavigate
type: string type: string
url: url:
type: TimelineCoverBehaviorUrl $ref: '#/components/schemas/TimelineCoverBehaviorUrl'
required: required:
- type - type
TimelineCoverBehaviorUrl: TimelineCoverBehaviorUrl:

View file

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

View file

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

View file

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

View file

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