mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
fix typo
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
f08d92f949
commit
133cc17ed3
15 changed files with 13 additions and 13 deletions
|
|
@ -1,75 +0,0 @@
|
|||
openapi: 3.0.3
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{FollowingQuery}}/Following:
|
||||
get:
|
||||
operationId: getFollowers
|
||||
description: get user list of followers
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
||||
/{{FollowersQuery}}/Followers:
|
||||
get:
|
||||
operationId: getFollowing
|
||||
description: get user list of following
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
FollowResponse:
|
||||
required:
|
||||
- "data"
|
||||
properties:
|
||||
data:
|
||||
$ref: "#/components/schemas/FollowResponseData"
|
||||
|
||||
FollowResponseData:
|
||||
required:
|
||||
- "user"
|
||||
properties:
|
||||
user:
|
||||
$ref: "#/components/schemas/FollowResponseUser"
|
||||
|
||||
FollowResponseUser:
|
||||
required:
|
||||
- "result"
|
||||
properties:
|
||||
result:
|
||||
$ref: "#/components/schemas/FollowResponseResult"
|
||||
|
||||
FollowResponseResult:
|
||||
required:
|
||||
- "__typename"
|
||||
- "timeline"
|
||||
properties:
|
||||
__typename:
|
||||
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
|
||||
timeline:
|
||||
$ref: "#/components/schemas/FollowTimeline"
|
||||
|
||||
FollowTimeline:
|
||||
required:
|
||||
- "timeline"
|
||||
properties:
|
||||
timeline:
|
||||
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
|
||||
Loading…
Add table
Add a link
Reference in a new issue