1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
twitter-openapi/dist/docs/schemas/error.yaml
ふぁ 112a13efc3
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
2023-07-30 21:46:25 +09:00

94 lines
1.8 KiB
YAML

components:
schemas:
Error:
properties:
code:
type: integer
extensions:
$ref: '#/components/schemas/ErrorExtensions'
kind:
type: string
locations:
items:
$ref: '#/components/schemas/Location'
type: array
message:
type: string
name:
type: string
path:
items:
type: string
type: array
retry_after:
type: integer
source:
type: string
tracing:
$ref: '#/components/schemas/Tracing'
required:
- message
- locations
- path
- extensions
- code
- kind
- name
- source
- retry_after
- tracing
type: object
ErrorExtensions:
properties:
code:
type: integer
kind:
type: string
name:
type: string
retry_after:
type: integer
source:
type: string
tracing:
$ref: '#/components/schemas/Tracing'
required:
- name
- source
- retry_after
- code
- kind
- tracing
type: object
Errors:
properties:
errors:
items:
$ref: '#/components/schemas/Error'
type: array
required:
- errors
type: object
Location:
properties:
column:
type: integer
line:
type: integer
required:
- line
- column
type: object
Tracing:
properties:
trace_id:
pattern: ^[0-9a-f]{16}$
type: string
required:
- trace_id
type: object
info:
title: Twitter OpenAPI
version: 0.0.1
openapi: 3.0.3
paths: {}