1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-20 02:22:47 +09:00
parent f08d92f949
commit 133cc17ed3
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
15 changed files with 13 additions and 13 deletions

View file

@ -0,0 +1,36 @@
openapi: 3.0.3
info:
title: Twitter OpenAPI
version: 0.0.1
paths:
/{{UserByScreenNameQuery}}/UserByScreenName:
get:
operationId: getUserByScreenName
description: "get user by screen name"
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/UserResponse"
tags:
- "user"
- "graphql"
components:
schemas:
UserResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/UserResponseData"
UserResponseData:
required:
- "user"
properties:
user:
$ref: "./../schemas/user.yaml#/components/schemas/UserResults"