mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
4d7c0c3ab5
commit
295edb55aa
54 changed files with 8026 additions and 578 deletions
90
dist/test/response/error.yaml
vendored
Normal file
90
dist/test/response/error.yaml
vendored
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
components:
|
||||
schemas:
|
||||
Error:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
extensions:
|
||||
$ref: '#/components/schemas/Extensions'
|
||||
kind:
|
||||
type: string
|
||||
locations:
|
||||
items:
|
||||
$ref: '#/components/schemas/Location'
|
||||
type: array
|
||||
message:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
path:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
source:
|
||||
type: string
|
||||
tracing:
|
||||
$ref: '#/components/schemas/Tracing'
|
||||
required:
|
||||
- message
|
||||
- locations
|
||||
- path
|
||||
- extensions
|
||||
- code
|
||||
- kind
|
||||
- name
|
||||
- source
|
||||
- tracing
|
||||
type: object
|
||||
ErrorResponse:
|
||||
properties:
|
||||
errors:
|
||||
$ref: '#/components/schemas/Errors'
|
||||
required:
|
||||
- errors
|
||||
- data
|
||||
type: object
|
||||
Errors:
|
||||
items:
|
||||
$ref: '#/components/schemas/Error'
|
||||
type: array
|
||||
Extensions:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
tracing:
|
||||
$ref: '#/components/schemas/Tracing'
|
||||
required:
|
||||
- name
|
||||
- source
|
||||
- code
|
||||
- kind
|
||||
- tracing
|
||||
type: object
|
||||
Location:
|
||||
properties:
|
||||
column:
|
||||
type: integer
|
||||
line:
|
||||
type: integer
|
||||
required:
|
||||
- line
|
||||
- column
|
||||
type: object
|
||||
Tracing:
|
||||
properties:
|
||||
trace_id:
|
||||
type: string
|
||||
required:
|
||||
- trace_id
|
||||
type: object
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue