1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00

Add 'bookmark_timeline_v2' as a required property in OpenAPI specifications

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-11-07 22:51:06 +09:00
parent cfa0186c70
commit 6d44ef09aa
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 6 additions and 0 deletions

View file

@ -274,6 +274,8 @@ components:
properties: properties:
bookmark_timeline_v2: bookmark_timeline_v2:
$ref: '#/components/schemas/BookmarksTimeline' $ref: '#/components/schemas/BookmarksTimeline'
required:
- bookmark_timeline_v2
BookmarksTimeline: BookmarksTimeline:
properties: properties:
timeline: timeline:

View file

@ -274,6 +274,8 @@ components:
properties: properties:
bookmark_timeline_v2: bookmark_timeline_v2:
$ref: '#/components/schemas/BookmarksTimeline' $ref: '#/components/schemas/BookmarksTimeline'
required:
- bookmark_timeline_v2
BookmarksTimeline: BookmarksTimeline:
properties: properties:
timeline: timeline:

View file

@ -30,6 +30,8 @@ components:
$ref: "./../response/error.yaml#/components/schemas/ErrorResponse" $ref: "./../response/error.yaml#/components/schemas/ErrorResponse"
BookmarksResponseData: BookmarksResponseData:
required:
- "bookmark_timeline_v2"
properties: properties:
bookmark_timeline_v2: bookmark_timeline_v2:
$ref: "#/components/schemas/BookmarksTimeline" $ref: "#/components/schemas/BookmarksTimeline"