diff --git a/dist/compatible/paths/follow.yaml b/dist/compatible/paths/follow.yaml index d0dfc30..a83b4e0 100644 --- a/dist/compatible/paths/follow.yaml +++ b/dist/compatible/paths/follow.yaml @@ -91,7 +91,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -182,7 +184,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -264,7 +268,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/other.yaml b/dist/compatible/paths/other.yaml index c8e1e3e..0d28120 100644 --- a/dist/compatible/paths/other.yaml +++ b/dist/compatible/paths/other.yaml @@ -90,7 +90,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OtherResponse' + oneOf: + - $ref: '#/components/schemas/OtherResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation tags: - other diff --git a/dist/compatible/paths/post.yaml b/dist/compatible/paths/post.yaml index 777db37..5bedfc7 100644 --- a/dist/compatible/paths/post.yaml +++ b/dist/compatible/paths/post.yaml @@ -181,7 +181,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateRetweetResponse' + oneOf: + - $ref: '#/components/schemas/CreateRetweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -375,7 +377,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateTweetResponse' + oneOf: + - $ref: '#/components/schemas/CreateTweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -449,7 +453,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRetweetResponse' + oneOf: + - $ref: '#/components/schemas/DeleteRetweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -523,7 +529,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteTweetResponse' + oneOf: + - $ref: '#/components/schemas/DeleteTweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -597,7 +605,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FavoriteTweetResponseData' + oneOf: + - $ref: '#/components/schemas/FavoriteTweetResponseData' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -671,7 +681,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnfavoriteTweetResponseData' + oneOf: + - $ref: '#/components/schemas/UnfavoriteTweetResponseData' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/profile.yaml b/dist/compatible/paths/profile.yaml index 63e06ed..0489c06 100644 --- a/dist/compatible/paths/profile.yaml +++ b/dist/compatible/paths/profile.yaml @@ -95,7 +95,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProfileResponse' + oneOf: + - $ref: '#/components/schemas/ProfileResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/timeline.yaml b/dist/compatible/paths/timeline.yaml index 09d648e..3cbc727 100644 --- a/dist/compatible/paths/timeline.yaml +++ b/dist/compatible/paths/timeline.yaml @@ -124,7 +124,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TimelineResponse' + oneOf: + - $ref: '#/components/schemas/TimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -206,7 +208,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TimelineResponse' + oneOf: + - $ref: '#/components/schemas/TimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -286,7 +290,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListLatestTweetsTimelineResponse' + oneOf: + - $ref: '#/components/schemas/ListLatestTweetsTimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -377,7 +383,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SearchTimelineResponse' + oneOf: + - $ref: '#/components/schemas/SearchTimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/tweet.yaml b/dist/compatible/paths/tweet.yaml index 13cde7f..54e8bd9 100644 --- a/dist/compatible/paths/tweet.yaml +++ b/dist/compatible/paths/tweet.yaml @@ -96,7 +96,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetFavoritersResponse' + oneOf: + - $ref: '#/components/schemas/TweetFavoritersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -180,7 +182,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetRetweetersResponse' + oneOf: + - $ref: '#/components/schemas/TweetRetweetersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -266,7 +270,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetDetailResponse' + oneOf: + - $ref: '#/components/schemas/TweetDetailResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/user.yaml b/dist/compatible/paths/user.yaml index e9b5952..7226106 100644 --- a/dist/compatible/paths/user.yaml +++ b/dist/compatible/paths/user.yaml @@ -68,7 +68,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + oneOf: + - $ref: '#/components/schemas/UserResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -132,7 +134,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + oneOf: + - $ref: '#/components/schemas/UserResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -196,7 +200,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UsersResponse' + oneOf: + - $ref: '#/components/schemas/UsersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/compatible/paths/usertweets.yaml b/dist/compatible/paths/usertweets.yaml index 452d327..a9e16c6 100644 --- a/dist/compatible/paths/usertweets.yaml +++ b/dist/compatible/paths/usertweets.yaml @@ -120,7 +120,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -213,7 +215,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserHighlightsTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserHighlightsTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -297,7 +301,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -381,7 +387,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -463,7 +471,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/follow.yaml b/dist/docs/paths/follow.yaml index 888b9cb..964a1f3 100644 --- a/dist/docs/paths/follow.yaml +++ b/dist/docs/paths/follow.yaml @@ -183,7 +183,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -376,7 +378,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -550,7 +554,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FollowResponse' + oneOf: + - $ref: '#/components/schemas/FollowResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/other.yaml b/dist/docs/paths/other.yaml index c8e1e3e..0d28120 100644 --- a/dist/docs/paths/other.yaml +++ b/dist/docs/paths/other.yaml @@ -90,7 +90,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OtherResponse' + oneOf: + - $ref: '#/components/schemas/OtherResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation tags: - other diff --git a/dist/docs/paths/post.yaml b/dist/docs/paths/post.yaml index 77ebbdf..73fd91b 100644 --- a/dist/docs/paths/post.yaml +++ b/dist/docs/paths/post.yaml @@ -177,7 +177,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateRetweetResponse' + oneOf: + - $ref: '#/components/schemas/CreateRetweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -369,7 +371,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateTweetResponse' + oneOf: + - $ref: '#/components/schemas/CreateTweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -439,7 +443,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRetweetResponse' + oneOf: + - $ref: '#/components/schemas/DeleteRetweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -509,7 +515,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteTweetResponse' + oneOf: + - $ref: '#/components/schemas/DeleteTweetResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -579,7 +587,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FavoriteTweetResponseData' + oneOf: + - $ref: '#/components/schemas/FavoriteTweetResponseData' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -649,7 +659,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnfavoriteTweetResponseData' + oneOf: + - $ref: '#/components/schemas/UnfavoriteTweetResponseData' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/profile.yaml b/dist/docs/paths/profile.yaml index a6a15b1..ddf46f5 100644 --- a/dist/docs/paths/profile.yaml +++ b/dist/docs/paths/profile.yaml @@ -103,7 +103,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProfileResponse' + oneOf: + - $ref: '#/components/schemas/ProfileResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/timeline.yaml b/dist/docs/paths/timeline.yaml index 6ac368b..5439c57 100644 --- a/dist/docs/paths/timeline.yaml +++ b/dist/docs/paths/timeline.yaml @@ -221,7 +221,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TimelineResponse' + oneOf: + - $ref: '#/components/schemas/TimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -405,7 +407,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TimelineResponse' + oneOf: + - $ref: '#/components/schemas/TimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -574,7 +578,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListLatestTweetsTimelineResponse' + oneOf: + - $ref: '#/components/schemas/ListLatestTweetsTimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -772,7 +778,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SearchTimelineResponse' + oneOf: + - $ref: '#/components/schemas/SearchTimelineResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/tweet.yaml b/dist/docs/paths/tweet.yaml index 8fa8209..fb1d27d 100644 --- a/dist/docs/paths/tweet.yaml +++ b/dist/docs/paths/tweet.yaml @@ -191,7 +191,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetFavoritersResponse' + oneOf: + - $ref: '#/components/schemas/TweetFavoritersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -370,7 +372,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetRetweetersResponse' + oneOf: + - $ref: '#/components/schemas/TweetRetweetersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -569,7 +573,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TweetDetailResponse' + oneOf: + - $ref: '#/components/schemas/TweetDetailResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/user.yaml b/dist/docs/paths/user.yaml index 86ddeb2..cb999a3 100644 --- a/dist/docs/paths/user.yaml +++ b/dist/docs/paths/user.yaml @@ -111,7 +111,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + oneOf: + - $ref: '#/components/schemas/UserResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -210,7 +212,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + oneOf: + - $ref: '#/components/schemas/UserResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -301,7 +305,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UsersResponse' + oneOf: + - $ref: '#/components/schemas/UsersResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: diff --git a/dist/docs/paths/usertweets.yaml b/dist/docs/paths/usertweets.yaml index 948efde..8297cea 100644 --- a/dist/docs/paths/usertweets.yaml +++ b/dist/docs/paths/usertweets.yaml @@ -230,7 +230,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -433,7 +435,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserHighlightsTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserHighlightsTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -627,7 +631,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -816,7 +822,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: @@ -1005,7 +1013,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserTweetsResponse' + oneOf: + - $ref: '#/components/schemas/UserTweetsResponse' + - $ref: ./../schemas/error.yaml#/components/schemas/Errors description: Successful operation headers: x-connection-hash: