From 5a50d9d53ee84d62a52e703a10ad3f73d7697596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Thu, 7 Nov 2024 00:04:03 +0900 Subject: [PATCH] remove required fields from OpenAPI schemas for sensitive media --- dist/compatible/openapi-3.0.yaml | 4 ---- dist/compatible_discriminator/openapi-3.0.yaml | 4 ---- dist/docs/openapi-3.0.yaml | 4 ---- src/openapi/schemas/tweet.yaml | 4 ---- 4 files changed, 16 deletions(-) diff --git a/dist/compatible/openapi-3.0.yaml b/dist/compatible/openapi-3.0.yaml index e5b99a8..4c3cd3e 100644 --- a/dist/compatible/openapi-3.0.yaml +++ b/dist/compatible/openapi-3.0.yaml @@ -1468,10 +1468,6 @@ components: type: boolean other: type: boolean - required: - - adult_content - - graphic_violence - - other Session: properties: SsoInitTokens: diff --git a/dist/compatible_discriminator/openapi-3.0.yaml b/dist/compatible_discriminator/openapi-3.0.yaml index 1ed7851..3cae37a 100644 --- a/dist/compatible_discriminator/openapi-3.0.yaml +++ b/dist/compatible_discriminator/openapi-3.0.yaml @@ -1468,10 +1468,6 @@ components: type: boolean other: type: boolean - required: - - adult_content - - graphic_violence - - other Session: properties: SsoInitTokens: diff --git a/dist/docs/openapi-3.0.yaml b/dist/docs/openapi-3.0.yaml index 2d810a3..dad26c3 100644 --- a/dist/docs/openapi-3.0.yaml +++ b/dist/docs/openapi-3.0.yaml @@ -1468,10 +1468,6 @@ components: type: boolean other: type: boolean - required: - - adult_content - - graphic_violence - - other Session: properties: SsoInitTokens: diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index 7fee812..266677d 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -1316,10 +1316,6 @@ components: enum: [Available, Unavailable] SensitiveMediaWarning: - required: - - "adult_content" - - "graphic_violence" - - "other" properties: adult_content: type: boolean