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:
parent
488932c5df
commit
7706204624
9 changed files with 31 additions and 61 deletions
|
|
@ -4,12 +4,10 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/graphql/{queryId}/FavoriteTweet:
|
||||
/graphql/{pathQueryId}/FavoriteTweet:
|
||||
post:
|
||||
operationId: postFavoriteTweet
|
||||
description: favorite Tweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -20,12 +18,10 @@ paths:
|
|||
tags:
|
||||
- "post"
|
||||
|
||||
/graphql/{queryId}/UnfavoriteTweet:
|
||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
||||
post:
|
||||
operationId: postUnfavoriteTweet
|
||||
description: unfavorite Tweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -36,12 +32,10 @@ paths:
|
|||
tags:
|
||||
- "post"
|
||||
|
||||
/graphql/{queryId}/CreateRetweet:
|
||||
/graphql/{pathQueryId}/CreateRetweet:
|
||||
post:
|
||||
operationId: postCreateRetweet
|
||||
description: create Retweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -52,12 +46,10 @@ paths:
|
|||
tags:
|
||||
- "post"
|
||||
|
||||
/graphql/{queryId}/DeleteRetweet:
|
||||
/graphql/{pathQueryId}/DeleteRetweet:
|
||||
post:
|
||||
operationId: postDeleteRetweet
|
||||
description: delete Retweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -68,12 +60,10 @@ paths:
|
|||
tags:
|
||||
- "post"
|
||||
|
||||
/graphql/{queryId}/CreateTweet:
|
||||
/graphql/{pathQueryId}/CreateTweet:
|
||||
post:
|
||||
operationId: postCreateTweet
|
||||
description: create Tweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -84,12 +74,10 @@ paths:
|
|||
tags:
|
||||
- "post"
|
||||
|
||||
/graphql/{queryId}/DeleteTweet:
|
||||
/graphql/{pathQueryId}/DeleteTweet:
|
||||
post:
|
||||
operationId: postDeleteTweet
|
||||
description: delete Retweet
|
||||
parameters:
|
||||
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue