1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-30 21:46:25 +09:00
parent 9a59a994a7
commit 112a13efc3
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
16 changed files with 256 additions and 4 deletions

View file

@ -168,7 +168,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/BookmarksResponse'
oneOf:
- $ref: '#/components/schemas/BookmarksResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -15,6 +15,7 @@ components:
UserResultByScreenName:
properties:
id:
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
type: string
result:
$ref: '#/components/schemas/UserResultByScreenNameResult'
@ -47,6 +48,7 @@ components:
legacy:
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
profilemodules:
additionalProperties: true
type: object
rest_id:
pattern: ^[0-9]+$