1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
twitter-openapi/src/openapi/paths/tweet.yaml
ふぁ 598730326d
fix
Signed-off-by: ふぁ <yuki@yuki0311.com>
2023-04-20 09:26:44 +09:00

33 lines
816 B
YAML

openapi: 3.0.3
info:
title: Twitter OpenAPI
version: 0.0.1
paths:
/{{TweetDetailQuery}}/TweetDetail:
get:
operationId: getTweetDetail
description: get TweetDetail
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/TweetDetailResponse"
components:
schemas:
TweetDetailResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/TweetDetailResponseData"
TweetDetailResponseData:
required:
- "threaded_conversation_with_injections_v2"
properties:
threaded_conversation_with_injections_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"