mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
fix error
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
ba853b81c7
commit
80186755aa
6 changed files with 47 additions and 9 deletions
|
|
@ -14,8 +14,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: "#/components/schemas/OtherResponse"
|
||||
$ref: "#/components/schemas/OtherResponse"
|
||||
tags:
|
||||
- "other"
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,15 @@ components:
|
|||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/Error"
|
||||
data:
|
||||
$ref: "#/components/schemas/ErrorsData"
|
||||
|
||||
ErrorsData:
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
type: string # always null
|
||||
pattern: "dummy"
|
||||
|
||||
Error:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue