diff --git a/dist/compatible/openapi-3.0.yaml b/dist/compatible/openapi-3.0.yaml index e004aab..306278b 100644 --- a/dist/compatible/openapi-3.0.yaml +++ b/dist/compatible/openapi-3.0.yaml @@ -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 diff --git a/dist/compatible_discriminator/openapi-3.0.yaml b/dist/compatible_discriminator/openapi-3.0.yaml index 6f54b5e..2b99bb2 100644 --- a/dist/compatible_discriminator/openapi-3.0.yaml +++ b/dist/compatible_discriminator/openapi-3.0.yaml @@ -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 diff --git a/dist/docs/openapi-3.0.yaml b/dist/docs/openapi-3.0.yaml index 799e822..46c51c9 100644 --- a/dist/docs/openapi-3.0.yaml +++ b/dist/docs/openapi-3.0.yaml @@ -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 diff --git a/src/config/placeholder.json b/src/config/placeholder.json index a3afda5..1bedf9b 100644 --- a/src/config/placeholder.json +++ b/src/config/placeholder.json @@ -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" }, diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index ae69e65..d5211b0 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -932,7 +932,7 @@ components: type: string pattern: "^[0-9]+$" conversation_control: - $ref: "#/components/schemas/ConversationControl" + additionalProperties: true # todo limited_actions: type: string enum: