mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-10 15:20:26 +01:00
remove required fields from OpenAPI schemas for sensitive media
This commit is contained in:
parent
7b7e7b0282
commit
5a50d9d53e
4 changed files with 0 additions and 16 deletions
4
dist/compatible/openapi-3.0.yaml
vendored
4
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -1468,10 +1468,6 @@ components:
|
|||
type: boolean
|
||||
other:
|
||||
type: boolean
|
||||
required:
|
||||
- adult_content
|
||||
- graphic_violence
|
||||
- other
|
||||
Session:
|
||||
properties:
|
||||
SsoInitTokens:
|
||||
|
|
|
|||
|
|
@ -1468,10 +1468,6 @@ components:
|
|||
type: boolean
|
||||
other:
|
||||
type: boolean
|
||||
required:
|
||||
- adult_content
|
||||
- graphic_violence
|
||||
- other
|
||||
Session:
|
||||
properties:
|
||||
SsoInitTokens:
|
||||
|
|
|
|||
4
dist/docs/openapi-3.0.yaml
vendored
4
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1468,10 +1468,6 @@ components:
|
|||
type: boolean
|
||||
other:
|
||||
type: boolean
|
||||
required:
|
||||
- adult_content
|
||||
- graphic_violence
|
||||
- other
|
||||
Session:
|
||||
properties:
|
||||
SsoInitTokens:
|
||||
|
|
|
|||
|
|
@ -1316,10 +1316,6 @@ components:
|
|||
enum: [Available, Unavailable]
|
||||
|
||||
SensitiveMediaWarning:
|
||||
required:
|
||||
- "adult_content"
|
||||
- "graphic_violence"
|
||||
- "other"
|
||||
properties:
|
||||
adult_content:
|
||||
type: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue