1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00

rename Error Response

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-11-07 22:26:16 +09:00
parent e7bbba9fb8
commit 5342b87e6f
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
9 changed files with 23 additions and 23 deletions

View file

@ -27,7 +27,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
BookmarksResponseData:
properties:

View file

@ -57,7 +57,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
FollowResponseData:
properties:

View file

@ -128,7 +128,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
FavoriteTweet:
properties:
@ -146,7 +146,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
UnfavoriteTweet:
properties:
@ -164,7 +164,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
CreateRetweetResponseData:
properties:
@ -212,7 +212,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
DeleteRetweetResponseData:
properties:
@ -246,7 +246,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
CreateTweetResponseData:
properties:
@ -278,7 +278,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
DeleteTweetResponseData:
properties:
@ -303,7 +303,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
CreateBookmarkResponseData:
properties:
@ -321,7 +321,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
DeleteBookmarkResponseData:
properties:

View file

@ -27,7 +27,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
ProfileResponseData:
properties:

View file

@ -71,7 +71,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
HomeTimelineResponseData:
properties:
@ -94,7 +94,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
ListTweetsTimelineData:
properties:
@ -122,7 +122,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
SearchTimelineData:
properties:

View file

@ -71,7 +71,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
TweetDetailResponseData:
properties:
@ -87,7 +87,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
TweetResultByRestIdData:
properties:
@ -103,7 +103,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
TweetFavoritersResponseData:
properties:
@ -119,7 +119,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
TweetRetweetersResponseData:
properties:

View file

@ -57,7 +57,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
UserResponseData:
properties:
@ -73,7 +73,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
UsersResponseData:
properties:

View file

@ -85,7 +85,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
UserTweetsData:
properties:
@ -118,7 +118,7 @@ components:
errors:
type: array
items:
$ref: "./../response/error.yaml#/components/schemas/Error"
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
UserHighlightsTweetsData:
properties:

View file

@ -6,7 +6,7 @@ info:
paths: {}
components:
schemas:
Error:
ErrorResponse:
type: object
required:
- message