1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00

add AddPathQueryIdOnParameters

hook to support default value

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-06-13 11:17:10 +09:00
parent 488932c5df
commit 7706204624
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
9 changed files with 31 additions and 61 deletions

View file

@ -4,12 +4,10 @@ info:
version: 0.0.1
paths:
/graphql/{queryId}/UserTweets:
/graphql/{pathQueryId}/UserTweets:
get:
operationId: getUserTweets
description: "get user tweets"
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation
@ -20,12 +18,10 @@ paths:
tags:
- "tweet"
/graphql/{queryId}/UserTweetsAndReplies:
/graphql/{pathQueryId}/UserTweetsAndReplies:
get:
operationId: getUserTweetsAndReplies
description: "get user replies tweets"
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation
@ -36,12 +32,10 @@ paths:
tags:
- "tweet"
/graphql/{queryId}/UserMedia:
/graphql/{pathQueryId}/UserMedia:
get:
operationId: getUserMedia
description: "get user media tweets"
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation
@ -52,12 +46,10 @@ paths:
tags:
- "tweet"
/graphql/{queryId}/Likes:
/graphql/{pathQueryId}/Likes:
get:
operationId: getLikes
description: "get user likes tweets"
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation