From 74ac250eb3659afddcc17d52225852788143c1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Fri, 28 Jul 2023 02:18:44 +0900 Subject: [PATCH] build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/compatible/schemas/content.yaml | 9 ++------- dist/compatible/schemas/instruction.yaml | 7 ------- dist/compatible/schemas/tweet.yaml | 1 - dist/compatible/schemas/user.yaml | 1 - dist/docs/schemas/content.yaml | 9 ++------- dist/docs/schemas/instruction.yaml | 7 ------- dist/docs/schemas/tweet.yaml | 1 - dist/docs/schemas/user.yaml | 1 - src/openapi/schemas/content.yaml | 10 +++------- src/openapi/schemas/instruction.yaml | 7 ------- 10 files changed, 7 insertions(+), 46 deletions(-) diff --git a/dist/compatible/schemas/content.yaml b/dist/compatible/schemas/content.yaml index 5dc4cdb..f5ca089 100644 --- a/dist/compatible/schemas/content.yaml +++ b/dist/compatible/schemas/content.yaml @@ -98,10 +98,8 @@ components: type: string entryType: $ref: '#/components/schemas/ContentEntryType' - type: string itemType: $ref: '#/components/schemas/ContentEntryType' - type: string value: type: string required: @@ -116,7 +114,6 @@ components: type: object entryType: $ref: '#/components/schemas/ContentEntryType' - type: string feedbackInfo: type: object itemContent: @@ -128,14 +125,14 @@ components: TimelineTimelineModule: properties: __typename: - $ref: ./typename.yaml#/components/schemas/TypeName + type: string + value: TimelineTimelineModule clientEventInfo: type: object displayType: type: string entryType: $ref: '#/components/schemas/ContentEntryType' - type: string footer: type: object header: @@ -157,7 +154,6 @@ components: $ref: ./typename.yaml#/components/schemas/TypeName itemType: $ref: '#/components/schemas/ContentItemType' - type: string promotedMetadata: type: object tweetDisplayType: @@ -177,7 +173,6 @@ components: $ref: ./typename.yaml#/components/schemas/TypeName itemType: $ref: '#/components/schemas/ContentItemType' - type: string userDisplayType: type: string user_results: diff --git a/dist/compatible/schemas/instruction.yaml b/dist/compatible/schemas/instruction.yaml index 11f755c..d4b9fa1 100644 --- a/dist/compatible/schemas/instruction.yaml +++ b/dist/compatible/schemas/instruction.yaml @@ -37,7 +37,6 @@ components: type: array type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entries @@ -66,7 +65,6 @@ components: type: boolean type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - moduleItems @@ -75,7 +73,6 @@ components: properties: type: $ref: '#/components/schemas/InstructionType' - type: string required: - type TimelinePinEntry: @@ -84,7 +81,6 @@ components: $ref: '#/components/schemas/TimelineAddEntry' type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entry @@ -96,7 +92,6 @@ components: type: string type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entry_id_to_replace @@ -130,7 +125,6 @@ components: type: integer type: $ref: '#/components/schemas/InstructionType' - type: string usersResults: items: $ref: ./user.yaml#/components/schemas/UserResults @@ -148,7 +142,6 @@ components: type: string type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - direction diff --git a/dist/compatible/schemas/tweet.yaml b/dist/compatible/schemas/tweet.yaml index 266b516..59d625d 100644 --- a/dist/compatible/schemas/tweet.yaml +++ b/dist/compatible/schemas/tweet.yaml @@ -182,7 +182,6 @@ components: - rest_id - core - edit_control - - edit_prespective - is_translatable - legacy - views diff --git a/dist/compatible/schemas/user.yaml b/dist/compatible/schemas/user.yaml index d9bb43c..8f9f8a7 100644 --- a/dist/compatible/schemas/user.yaml +++ b/dist/compatible/schemas/user.yaml @@ -14,7 +14,6 @@ components: default: false type: boolean id: - pattern: ^[a-z\-]+[0-9]+$ type: string is_blue_verified: default: false diff --git a/dist/docs/schemas/content.yaml b/dist/docs/schemas/content.yaml index 5dc4cdb..f5ca089 100644 --- a/dist/docs/schemas/content.yaml +++ b/dist/docs/schemas/content.yaml @@ -98,10 +98,8 @@ components: type: string entryType: $ref: '#/components/schemas/ContentEntryType' - type: string itemType: $ref: '#/components/schemas/ContentEntryType' - type: string value: type: string required: @@ -116,7 +114,6 @@ components: type: object entryType: $ref: '#/components/schemas/ContentEntryType' - type: string feedbackInfo: type: object itemContent: @@ -128,14 +125,14 @@ components: TimelineTimelineModule: properties: __typename: - $ref: ./typename.yaml#/components/schemas/TypeName + type: string + value: TimelineTimelineModule clientEventInfo: type: object displayType: type: string entryType: $ref: '#/components/schemas/ContentEntryType' - type: string footer: type: object header: @@ -157,7 +154,6 @@ components: $ref: ./typename.yaml#/components/schemas/TypeName itemType: $ref: '#/components/schemas/ContentItemType' - type: string promotedMetadata: type: object tweetDisplayType: @@ -177,7 +173,6 @@ components: $ref: ./typename.yaml#/components/schemas/TypeName itemType: $ref: '#/components/schemas/ContentItemType' - type: string userDisplayType: type: string user_results: diff --git a/dist/docs/schemas/instruction.yaml b/dist/docs/schemas/instruction.yaml index 11f755c..d4b9fa1 100644 --- a/dist/docs/schemas/instruction.yaml +++ b/dist/docs/schemas/instruction.yaml @@ -37,7 +37,6 @@ components: type: array type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entries @@ -66,7 +65,6 @@ components: type: boolean type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - moduleItems @@ -75,7 +73,6 @@ components: properties: type: $ref: '#/components/schemas/InstructionType' - type: string required: - type TimelinePinEntry: @@ -84,7 +81,6 @@ components: $ref: '#/components/schemas/TimelineAddEntry' type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entry @@ -96,7 +92,6 @@ components: type: string type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - entry_id_to_replace @@ -130,7 +125,6 @@ components: type: integer type: $ref: '#/components/schemas/InstructionType' - type: string usersResults: items: $ref: ./user.yaml#/components/schemas/UserResults @@ -148,7 +142,6 @@ components: type: string type: $ref: '#/components/schemas/InstructionType' - type: string required: - type - direction diff --git a/dist/docs/schemas/tweet.yaml b/dist/docs/schemas/tweet.yaml index 266b516..59d625d 100644 --- a/dist/docs/schemas/tweet.yaml +++ b/dist/docs/schemas/tweet.yaml @@ -182,7 +182,6 @@ components: - rest_id - core - edit_control - - edit_prespective - is_translatable - legacy - views diff --git a/dist/docs/schemas/user.yaml b/dist/docs/schemas/user.yaml index d9bb43c..8f9f8a7 100644 --- a/dist/docs/schemas/user.yaml +++ b/dist/docs/schemas/user.yaml @@ -14,7 +14,6 @@ components: default: false type: boolean id: - pattern: ^[a-z\-]+[0-9]+$ type: string is_blue_verified: default: false diff --git a/src/openapi/schemas/content.yaml b/src/openapi/schemas/content.yaml index b08b320..d0f11c4 100644 --- a/src/openapi/schemas/content.yaml +++ b/src/openapi/schemas/content.yaml @@ -32,7 +32,6 @@ components: __typename: $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineItem entryType: - type: string # enum $ref: "#/components/schemas/ContentEntryType" # TimelineTimelineItem itemContent: $ref: "#/components/schemas/ItemContentUnion" @@ -50,9 +49,10 @@ components: - "clientEventInfo" properties: __typename: - $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule + type: string + value: TimelineTimelineModule + # $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule entryType: - type: string # enum $ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor displayType: type: string # enum @@ -77,10 +77,8 @@ components: __typename: $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineCursor entryType: - type: string # enum $ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor itemType: - type: string # enum $ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor cursorType: type: string @@ -151,7 +149,6 @@ components: __typename: $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTweet itemType: - type: string # enum $ref: "#/components/schemas/ContentItemType" # TimelineTweet tweetDisplayType: type: string @@ -173,7 +170,6 @@ components: __typename: $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineUser itemType: - type: string # enum $ref: "#/components/schemas/ContentItemType" # TimelineUser SocialContext: $ref: "#/components/schemas/SocialContext" diff --git a/src/openapi/schemas/instruction.yaml b/src/openapi/schemas/instruction.yaml index 7ec2e67..6057b96 100644 --- a/src/openapi/schemas/instruction.yaml +++ b/src/openapi/schemas/instruction.yaml @@ -45,7 +45,6 @@ components: - entries properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineAddEntries entries: type: array @@ -59,7 +58,6 @@ components: - moduleEntryId properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineAddToModule moduleItems: type: array @@ -75,7 +73,6 @@ components: - type properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineClearCache TimelinePinEntry: @@ -84,7 +81,6 @@ components: - entry properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelinePinEntry entry: $ref: "#/components/schemas/TimelineAddEntry" @@ -96,7 +92,6 @@ components: - entry properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineReplaceEntry entry_id_to_replace: type: string @@ -110,7 +105,6 @@ components: - richText properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineShowAlert alertType: type: string @@ -146,7 +140,6 @@ components: - direction properties: type: - type: string $ref: "#/components/schemas/InstructionType" # TimelineTerminateTimeline direction: type: string