mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50: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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- bookmark
|
|
||||||
- graphql
|
|
||||||
|
|
|
||||||
14
dist/paths/tweet.yaml
vendored
14
dist/paths/tweet.yaml
vendored
|
|
@ -1,17 +1,17 @@
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
BookmarksResponseData:
|
TweetDetailResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/TweetDetailResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
TweetDetailResponseData:
|
||||||
properties:
|
properties:
|
||||||
threaded_conversation_with_injections_v2:
|
threaded_conversation_with_injections_v2:
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
||||||
required:
|
required:
|
||||||
- threaded_conversation_with_injections_v2
|
- threaded_conversation_with_injections_v2
|
||||||
TweetDetailResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
info:
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BookmarksResponse"
|
$ref: "#/components/schemas/BookmarksResponse"
|
||||||
tags:
|
|
||||||
- "bookmark"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ components:
|
||||||
- "data"
|
- "data"
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/BookmarksResponseData"
|
$ref: "#/components/schemas/TweetDetailResponseData"
|
||||||
|
|
||||||
BookmarksResponseData:
|
TweetDetailResponseData:
|
||||||
required:
|
required:
|
||||||
- "threaded_conversation_with_injections_v2"
|
- "threaded_conversation_with_injections_v2"
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue