mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-09 14:50:25 +01:00
commit
bc6ead9483
5 changed files with 21 additions and 10 deletions
10
dist/compatible/openapi-3.0.yaml
vendored
10
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
10
dist/docs/openapi-3.0.yaml
vendored
10
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ components:
|
|||
type: string
|
||||
enum: [TimelineCoverBehaviorDismiss, TimelineCoverBehaviorNavigate]
|
||||
url:
|
||||
type: TimelineCoverBehaviorUrl
|
||||
$ref: "#/components/schemas/TimelineCoverBehaviorUrl"
|
||||
|
||||
TimelineCoverBehaviorUrl:
|
||||
required:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue