mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
fix conversation_control
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
2d3d1475ab
commit
57fd24311f
5 changed files with 20 additions and 37 deletions
7
dist/compatible/openapi-3.0.yaml
vendored
7
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -2320,7 +2320,7 @@ components:
|
|||
bookmarked:
|
||||
type: boolean
|
||||
conversation_control:
|
||||
$ref: '#/components/schemas/ConversationControl'
|
||||
additionalProperties: true
|
||||
conversation_id_str:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
|
|
@ -4371,8 +4371,6 @@ paths:
|
|||
default: https://x.com/elonmusk/status/1349129669258448897
|
||||
example: https://x.com/elonmusk/status/1349129669258448897
|
||||
type: string
|
||||
conversation_control:
|
||||
properties:
|
||||
conversation_control:
|
||||
properties:
|
||||
mode:
|
||||
|
|
@ -4382,9 +4380,6 @@ paths:
|
|||
required:
|
||||
- mode
|
||||
type: object
|
||||
required:
|
||||
- conversation_control
|
||||
type: object
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
|
|
|
|||
|
|
@ -2320,7 +2320,7 @@ components:
|
|||
bookmarked:
|
||||
type: boolean
|
||||
conversation_control:
|
||||
$ref: '#/components/schemas/ConversationControl'
|
||||
additionalProperties: true
|
||||
conversation_id_str:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
|
|
@ -4365,8 +4365,6 @@ paths:
|
|||
default: https://x.com/elonmusk/status/1349129669258448897
|
||||
example: https://x.com/elonmusk/status/1349129669258448897
|
||||
type: string
|
||||
conversation_control:
|
||||
properties:
|
||||
conversation_control:
|
||||
properties:
|
||||
mode:
|
||||
|
|
@ -4376,9 +4374,6 @@ paths:
|
|||
required:
|
||||
- mode
|
||||
type: object
|
||||
required:
|
||||
- conversation_control
|
||||
type: object
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
|
|
|
|||
7
dist/docs/openapi-3.0.yaml
vendored
7
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -2320,7 +2320,7 @@ components:
|
|||
bookmarked:
|
||||
type: boolean
|
||||
conversation_control:
|
||||
$ref: '#/components/schemas/ConversationControl'
|
||||
additionalProperties: true
|
||||
conversation_id_str:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
|
|
@ -4477,8 +4477,6 @@ paths:
|
|||
default: https://x.com/elonmusk/status/1349129669258448897
|
||||
example: https://x.com/elonmusk/status/1349129669258448897
|
||||
type: string
|
||||
conversation_control:
|
||||
properties:
|
||||
conversation_control:
|
||||
properties:
|
||||
mode:
|
||||
|
|
@ -4488,9 +4486,6 @@ paths:
|
|||
required:
|
||||
- mode
|
||||
type: object
|
||||
required:
|
||||
- conversation_control
|
||||
type: object
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
|
|
|
|||
|
|
@ -711,9 +711,7 @@
|
|||
"dark_request": false,
|
||||
"disallowed_reply_options?": {},
|
||||
"conversation_control?": {
|
||||
"conversation_control": {
|
||||
"mode": "Community"
|
||||
}
|
||||
},
|
||||
"attachment_url?": "https://x.com/elonmusk/status/1349129669258448897"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -932,7 +932,7 @@ components:
|
|||
type: string
|
||||
pattern: "^[0-9]+$"
|
||||
conversation_control:
|
||||
$ref: "#/components/schemas/ConversationControl"
|
||||
additionalProperties: true # todo
|
||||
limited_actions:
|
||||
type: string
|
||||
enum:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue