mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
fix
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
65b2611d8b
commit
598730326d
4 changed files with 9 additions and 15 deletions
3
dist/paths/bookmarks.yaml
vendored
3
dist/paths/bookmarks.yaml
vendored
|
|
@ -134,6 +134,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- bookmark
|
||||
- graphql
|
||||
|
|
|
|||
14
dist/paths/tweet.yaml
vendored
14
dist/paths/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/BookmarksResponse"
|
||||
tags:
|
||||
- "bookmark"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue