From 598730326de47225e39f666123229c1689495b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Thu, 20 Apr 2023 09:26:44 +0900 Subject: [PATCH] fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/paths/bookmarks.yaml | 3 --- dist/paths/tweet.yaml | 14 +++++++------- src/openapi/paths/bookmarks.yaml | 3 --- src/openapi/paths/tweet.yaml | 4 ++-- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/dist/paths/bookmarks.yaml b/dist/paths/bookmarks.yaml index ffa85be..b33620b 100644 --- a/dist/paths/bookmarks.yaml +++ b/dist/paths/bookmarks.yaml @@ -134,6 +134,3 @@ paths: x-xss-protection: schema: type: integer - tags: - - bookmark - - graphql diff --git a/dist/paths/tweet.yaml b/dist/paths/tweet.yaml index fc19dcf..72af010 100644 --- a/dist/paths/tweet.yaml +++ b/dist/paths/tweet.yaml @@ -1,17 +1,17 @@ components: schemas: - BookmarksResponseData: + TweetDetailResponse: + properties: + data: + $ref: '#/components/schemas/TweetDetailResponseData' + required: + - data + TweetDetailResponseData: properties: threaded_conversation_with_injections_v2: $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline required: - threaded_conversation_with_injections_v2 - TweetDetailResponse: - properties: - data: - $ref: '#/components/schemas/BookmarksResponseData' - required: - - data info: title: Twitter OpenAPI version: 0.0.1 diff --git a/src/openapi/paths/bookmarks.yaml b/src/openapi/paths/bookmarks.yaml index 5fabdd2..186860c 100644 --- a/src/openapi/paths/bookmarks.yaml +++ b/src/openapi/paths/bookmarks.yaml @@ -15,9 +15,6 @@ paths: application/json: schema: $ref: "#/components/schemas/BookmarksResponse" - tags: - - "bookmark" - - "graphql" components: schemas: diff --git a/src/openapi/paths/tweet.yaml b/src/openapi/paths/tweet.yaml index a799881..c602a67 100644 --- a/src/openapi/paths/tweet.yaml +++ b/src/openapi/paths/tweet.yaml @@ -23,9 +23,9 @@ components: - "data" properties: data: - $ref: "#/components/schemas/BookmarksResponseData" + $ref: "#/components/schemas/TweetDetailResponseData" - BookmarksResponseData: + TweetDetailResponseData: required: - "threaded_conversation_with_injections_v2" properties: