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: