1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00

add support for substituting queryId in paths

This commit is contained in:
Abdullah Atta 2023-06-12 22:57:52 +05:00
parent f9abea2fd3
commit 3fe43ba252
9 changed files with 68 additions and 19 deletions

View file

@ -4,10 +4,12 @@ info:
version: 0.0.1
paths:
/graphql/{{queryId}}/Following:
/graphql/{queryId}/Following:
get:
operationId: getFollowing
description: get user list of following
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation
@ -18,10 +20,12 @@ paths:
tags:
- "user-list"
/graphql/{{queryId}}/Followers:
/graphql/{queryId}/Followers:
get:
operationId: getFollowers
description: get user list of followers
parameters:
- $ref: "../resources/parameters.yaml#/components/parameters/queryId"
responses:
"200":
description: Successful operation