1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00

Merge pull request #72 from fa0311/dev

fix conversation_control
This commit is contained in:
ふぁ 2024-09-30 11:21:51 +09:00 committed by GitHub
commit 0c64eebbfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 37 deletions

View file

@ -2320,7 +2320,7 @@ components:
bookmarked:
type: boolean
conversation_control:
$ref: '#/components/schemas/ConversationControl'
additionalProperties: true
conversation_id_str:
pattern: ^[0-9]+$
type: string
@ -4373,17 +4373,12 @@ paths:
type: string
conversation_control:
properties:
conversation_control:
properties:
mode:
default: Community
example: Community
type: string
required:
- mode
type: object
mode:
default: Community
example: Community
type: string
required:
- conversation_control
- mode
type: object
dark_request:
default: false

View file

@ -2320,7 +2320,7 @@ components:
bookmarked:
type: boolean
conversation_control:
$ref: '#/components/schemas/ConversationControl'
additionalProperties: true
conversation_id_str:
pattern: ^[0-9]+$
type: string
@ -4367,17 +4367,12 @@ paths:
type: string
conversation_control:
properties:
conversation_control:
properties:
mode:
default: Community
example: Community
type: string
required:
- mode
type: object
mode:
default: Community
example: Community
type: string
required:
- conversation_control
- mode
type: object
dark_request:
default: false

View file

@ -2320,7 +2320,7 @@ components:
bookmarked:
type: boolean
conversation_control:
$ref: '#/components/schemas/ConversationControl'
additionalProperties: true
conversation_id_str:
pattern: ^[0-9]+$
type: string
@ -4479,17 +4479,12 @@ paths:
type: string
conversation_control:
properties:
conversation_control:
properties:
mode:
default: Community
example: Community
type: string
required:
- mode
type: object
mode:
default: Community
example: Community
type: string
required:
- conversation_control
- mode
type: object
dark_request:
default: false

View file

@ -711,9 +711,7 @@
"dark_request": false,
"disallowed_reply_options?": {},
"conversation_control?": {
"conversation_control": {
"mode": "Community"
}
"mode": "Community"
},
"attachment_url?": "https://x.com/elonmusk/status/1349129669258448897"
},

View file

@ -932,7 +932,7 @@ components:
type: string
pattern: "^[0-9]+$"
conversation_control:
$ref: "#/components/schemas/ConversationControl"
additionalProperties: true # todo
limited_actions:
type: string
enum: