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:
|
||||
type: array
|
||||
items:
|
||||
$ref: "./../response/error.yaml#/components/schemas/Error"
|
||||
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
|
||||
|
||||
BookmarksResponseData:
|
||||
properties:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ info:
|
|||
paths: {}
|
||||
components:
|
||||
schemas:
|
||||
Error:
|
||||
ErrorResponse:
|
||||
type: object
|
||||
required:
|
||||
- message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue