From 926b9c8c0d0a233dd8c33f29403dbbd9e1fb886e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Sat, 23 Nov 2024 23:48:27 +0900 Subject: [PATCH] fix schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- src/openapi/response/error.yaml | 5 ++--- src/openapi/schemas/user.yaml | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openapi/response/error.yaml b/src/openapi/response/error.yaml index 1b87159..b512f1f 100644 --- a/src/openapi/response/error.yaml +++ b/src/openapi/response/error.yaml @@ -26,9 +26,8 @@ components: items: $ref: "#/components/schemas/Location" path: - type: array - items: - type: string + type: list + items: {} #List[Union[str,int]] extensions: $ref: "#/components/schemas/ErrorExtensions" code: diff --git a/src/openapi/schemas/user.yaml b/src/openapi/schemas/user.yaml index 5358734..91c72f8 100644 --- a/src/openapi/schemas/user.yaml +++ b/src/openapi/schemas/user.yaml @@ -30,7 +30,6 @@ components: User: required: - "__typename" - - "affiliates_highlighted_label" - "id" - "is_blue_verified" - "legacy" @@ -210,6 +209,8 @@ components: type: string # uri bandcamp_handle: type: string # uri + pay_pal_handle: + type: string UserLegacyExtendedProfile: properties: