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:
parent
d9082fbeea
commit
0d0f563c0d
2 changed files with 50 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue