mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-03-07 12:39:54 +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
|
- 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:
|
||||||
|
|
|
||||||
10
dist/docs/openapi-3.0.yaml
vendored
10
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue