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
11
dist/compatible/openapi-3.0.yaml
vendored
11
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -780,6 +780,8 @@ components:
|
|||
type: object
|
||||
Errors:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/ErrorsData'
|
||||
errors:
|
||||
items:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
|
@ -787,6 +789,12 @@ components:
|
|||
required:
|
||||
- errors
|
||||
type: object
|
||||
ErrorsData:
|
||||
properties:
|
||||
user:
|
||||
pattern: dummy
|
||||
type: string
|
||||
type: object
|
||||
ExtMediaAvailability:
|
||||
properties:
|
||||
reason:
|
||||
|
|
@ -6578,8 +6586,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/OtherResponse'
|
||||
$ref: '#/components/schemas/OtherResponse'
|
||||
description: Successful operation
|
||||
tags:
|
||||
- other
|
||||
|
|
|
|||
11
dist/compatible_discriminator/openapi-3.0.yaml
vendored
11
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -780,6 +780,8 @@ components:
|
|||
type: object
|
||||
Errors:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/ErrorsData'
|
||||
errors:
|
||||
items:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
|
@ -787,6 +789,12 @@ components:
|
|||
required:
|
||||
- errors
|
||||
type: object
|
||||
ErrorsData:
|
||||
properties:
|
||||
user:
|
||||
pattern: dummy
|
||||
type: string
|
||||
type: object
|
||||
ExtMediaAvailability:
|
||||
properties:
|
||||
reason:
|
||||
|
|
@ -6520,8 +6528,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/OtherResponse'
|
||||
$ref: '#/components/schemas/OtherResponse'
|
||||
description: Successful operation
|
||||
tags:
|
||||
- other
|
||||
|
|
|
|||
11
dist/docs/openapi-3.0.yaml
vendored
11
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -780,6 +780,8 @@ components:
|
|||
type: object
|
||||
Errors:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/ErrorsData'
|
||||
errors:
|
||||
items:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
|
@ -787,6 +789,12 @@ components:
|
|||
required:
|
||||
- errors
|
||||
type: object
|
||||
ErrorsData:
|
||||
properties:
|
||||
user:
|
||||
pattern: dummy
|
||||
type: string
|
||||
type: object
|
||||
ExtMediaAvailability:
|
||||
properties:
|
||||
reason:
|
||||
|
|
@ -8687,8 +8695,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/OtherResponse'
|
||||
$ref: '#/components/schemas/OtherResponse'
|
||||
description: Successful operation
|
||||
tags:
|
||||
- other
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue