mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
rename Error Response
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
e7bbba9fb8
commit
5342b87e6f
9 changed files with 23 additions and 23 deletions
|
|
@ -27,7 +27,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
BookmarksResponseData:
|
BookmarksResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
FollowResponseData:
|
FollowResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
FavoriteTweet:
|
FavoriteTweet:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -146,7 +146,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
UnfavoriteTweet:
|
UnfavoriteTweet:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -164,7 +164,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
CreateRetweetResponseData:
|
CreateRetweetResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -212,7 +212,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
DeleteRetweetResponseData:
|
DeleteRetweetResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -246,7 +246,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
CreateTweetResponseData:
|
CreateTweetResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -278,7 +278,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
DeleteTweetResponseData:
|
DeleteTweetResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -303,7 +303,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
CreateBookmarkResponseData:
|
CreateBookmarkResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -321,7 +321,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
DeleteBookmarkResponseData:
|
DeleteBookmarkResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
ProfileResponseData:
|
ProfileResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
HomeTimelineResponseData:
|
HomeTimelineResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -94,7 +94,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
ListTweetsTimelineData:
|
ListTweetsTimelineData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -122,7 +122,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
SearchTimelineData:
|
SearchTimelineData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
TweetDetailResponseData:
|
TweetDetailResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -87,7 +87,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
TweetResultByRestIdData:
|
TweetResultByRestIdData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -103,7 +103,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
TweetFavoritersResponseData:
|
TweetFavoritersResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -119,7 +119,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
TweetRetweetersResponseData:
|
TweetRetweetersResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
UserResponseData:
|
UserResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -73,7 +73,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
UsersResponseData:
|
UsersResponseData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
UserTweetsData:
|
UserTweetsData:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -118,7 +118,7 @@ components:
|
||||||
errors:
|
errors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||||
|
|
||||||
UserHighlightsTweetsData:
|
UserHighlightsTweetsData:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ info:
|
||||||
paths: {}
|
paths: {}
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
Error:
|
ErrorResponse:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- message
|
- message
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue