mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add additionalHooks
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
6d83063f76
commit
150430b24c
2 changed files with 7 additions and 18 deletions
24
dist/compatible_discriminator/openapi-3.0.yaml
vendored
24
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -3888,9 +3888,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/CreateRetweetResponse'
|
||||||
- $ref: '#/components/schemas/CreateRetweetResponse'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
@ -4115,9 +4113,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/CreateTweetResponse'
|
||||||
- $ref: '#/components/schemas/CreateTweetResponse'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
@ -4191,9 +4187,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/DeleteRetweetResponse'
|
||||||
- $ref: '#/components/schemas/DeleteRetweetResponse'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
@ -4267,9 +4261,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/DeleteTweetResponse'
|
||||||
- $ref: '#/components/schemas/DeleteTweetResponse'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
@ -4343,9 +4335,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/FavoriteTweetResponseData'
|
||||||
- $ref: '#/components/schemas/FavoriteTweetResponseData'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
@ -5498,9 +5488,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
||||||
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
||||||
- $ref: '#/components/schemas/Errors'
|
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ class Config:
|
||||||
schemaType=None,
|
schemaType=None,
|
||||||
contentType="application/json",
|
contentType="application/json",
|
||||||
),
|
),
|
||||||
|
*additionalHooks,
|
||||||
]
|
]
|
||||||
for key in ["post"]
|
for key in ["post"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue