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

fix model

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-06-06 13:18:26 +09:00
parent d9082fbeea
commit 0d0f563c0d
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 50 additions and 4 deletions

View file

@ -39,7 +39,6 @@ components:
- "super_followed_by"
- "super_following"
- "profile_image_shape"
- "tipjar_settings"
properties:
__typename:
@ -95,6 +94,8 @@ components:
type: boolean
tipjar_settings:
$ref: "#/components/schemas/UserTipJarSettings"
legacy_extended_profile:
$ref: "#/components/schemas/UserLegacyExtendedProfile"
UserProfessional:
required:
@ -214,6 +215,32 @@ components:
gofundme_handle:
type: string # uri
UserLegacyExtendedProfile:
properties:
birthdate:
$ref: "#/components/schemas/UserLegacyExtendedProfileBirthdate"
UserLegacyExtendedProfileBirthdate:
required:
- "day"
- "month"
- "year"
- "visibility"
- "year_visibility"
properties:
day:
type: integer
month:
type: integer
year:
type: integer
visibility:
type: string
enum: ["Self", "Public", "MutualFollow", "Followers", "Following"]
year_visibility:
type: string
enum: ["Self", "Public", "MutualFollow", "Followers", "Following"]
UserLegacy:
required:
- "blocked_by"