From adac21f94d9c6302f784aaf81894eb06ac1c3c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Mon, 19 Feb 2024 15:13:39 +0900 Subject: [PATCH] add TopAndBottom and remove timestamp required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/compatible/openapi-3.0.yaml | 1 + dist/compatible_discriminator/openapi-3.0.yaml | 1 + dist/docs/openapi-3.0.yaml | 1 + src/openapi/schemas/instruction.yaml | 2 +- src/openapi/schemas/tweet.yaml | 1 - 5 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/compatible/openapi-3.0.yaml b/dist/compatible/openapi-3.0.yaml index 6383149..f19868e 100644 --- a/dist/compatible/openapi-3.0.yaml +++ b/dist/compatible/openapi-3.0.yaml @@ -1660,6 +1660,7 @@ components: enum: - Top - Bottom + - TopAndBottom type: string type: $ref: '#/components/schemas/InstructionType' diff --git a/dist/compatible_discriminator/openapi-3.0.yaml b/dist/compatible_discriminator/openapi-3.0.yaml index 9a4a884..fd12dea 100644 --- a/dist/compatible_discriminator/openapi-3.0.yaml +++ b/dist/compatible_discriminator/openapi-3.0.yaml @@ -1660,6 +1660,7 @@ components: enum: - Top - Bottom + - TopAndBottom type: string type: $ref: '#/components/schemas/InstructionType' diff --git a/dist/docs/openapi-3.0.yaml b/dist/docs/openapi-3.0.yaml index e03eeaa..532c39a 100644 --- a/dist/docs/openapi-3.0.yaml +++ b/dist/docs/openapi-3.0.yaml @@ -1660,6 +1660,7 @@ components: enum: - Top - Bottom + - TopAndBottom type: string type: $ref: '#/components/schemas/InstructionType' diff --git a/src/openapi/schemas/instruction.yaml b/src/openapi/schemas/instruction.yaml index 1a897da..f89b603 100644 --- a/src/openapi/schemas/instruction.yaml +++ b/src/openapi/schemas/instruction.yaml @@ -150,7 +150,7 @@ components: $ref: "#/components/schemas/InstructionType" # TimelineTerminateTimeline direction: type: string - enum: [Top, Bottom] + enum: [Top, Bottom, TopAndBottom] TimelineAddEntry: required: diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index ab03dcb..f87deab 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -927,7 +927,6 @@ components: - "symbols" - "user_mentions" - "urls" - - "timestamps" properties: hashtags: type: array