1
Fork 0
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:
ふぁ 2024-09-29 23:18:38 +09:00
parent ba853b81c7
commit 80186755aa
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
6 changed files with 47 additions and 9 deletions

View file

@ -14,8 +14,7 @@ paths:
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/OtherResponse"
$ref: "#/components/schemas/OtherResponse"
tags:
- "other"

View file

@ -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