From af5875b4e32e5d433b562862d030dbeb37d93c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Mon, 19 Feb 2024 12:26:21 +0900 Subject: [PATCH] fix minor bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- src/openapi/schemas/tweet.yaml | 4 ++-- src/openapi/schemas/user.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index c76d32d..ab03dcb 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -680,7 +680,6 @@ components: $ref: "#/components/schemas/BirdwatchEntity" BirdwatchPivotCallToAction: - # {'prompt': 'Do you find this helpful?', 'title': 'Rate it', 'destinationUrl': 'https://twitter.com/i/birdwatch/n/1710821689636934115'} required: - "prompt" - "title" @@ -906,10 +905,11 @@ components: type: string enum: - "limited_replies" - - "community_tweet_non_member_public_community" - "non_compliant" - "dynamic_product_ad" - "stale_tweet" + - "community_tweet_non_member_public_community" + - "community_tweet_non_member_closed_community" place: additionalProperties: true # todo diff --git a/src/openapi/schemas/user.yaml b/src/openapi/schemas/user.yaml index 67eb29e..89755af 100644 --- a/src/openapi/schemas/user.yaml +++ b/src/openapi/schemas/user.yaml @@ -356,3 +356,5 @@ components: $ref: "./typename.yaml#/components/schemas/TypeName" # UserUnavailable reason: type: string + message: + type: string