1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00

fix #22, update additionalProperties

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-30 19:43:04 +09:00
parent 0a7f111236
commit cee095e948
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
8 changed files with 157 additions and 32 deletions

View file

@ -35,7 +35,8 @@ components:
__typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # User
affiliates_highlighted_label:
type: object # todo
type: object
additionalProperties: true # todo
has_graduated_access:
type: boolean
has_nft_avatar:
@ -43,7 +44,7 @@ components:
default: false
id:
type: string
# pattern: '^[a-z\-]+[0-9]+$'
pattern: "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$" # base64
is_blue_verified:
type: boolean
default: false
@ -53,7 +54,8 @@ components:
type: string
pattern: "^[0-9]+$"
business_account:
type: object # todo
type: object
additionalProperties: true # todo
super_follow_eligible:
type: boolean
default: false
@ -126,7 +128,8 @@ components:
description:
type: string
entities:
type: object # todo
type: object
additionalProperties: true # todo
fast_followers_count:
type: integer
favourites_count: