1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-20 09:26:44 +09:00
parent 65b2611d8b
commit 598730326d
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 9 additions and 15 deletions

View file

@ -134,6 +134,3 @@ paths:
x-xss-protection:
schema:
type: integer
tags:
- bookmark
- graphql

14
dist/paths/tweet.yaml vendored
View file

@ -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

View file

@ -15,9 +15,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/BookmarksResponse"
tags:
- "bookmark"
- "graphql"
components:
schemas:

View file

@ -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: