mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 07:30:37 +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
|
type: boolean
|
||||||
other:
|
other:
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
|
||||||
- adult_content
|
|
||||||
- graphic_violence
|
|
||||||
- other
|
|
||||||
Session:
|
Session:
|
||||||
properties:
|
properties:
|
||||||
SsoInitTokens:
|
SsoInitTokens:
|
||||||
|
|
|
||||||
|
|
@ -1468,10 +1468,6 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
other:
|
other:
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
|
||||||
- adult_content
|
|
||||||
- graphic_violence
|
|
||||||
- other
|
|
||||||
Session:
|
Session:
|
||||||
properties:
|
properties:
|
||||||
SsoInitTokens:
|
SsoInitTokens:
|
||||||
|
|
|
||||||
4
dist/docs/openapi-3.0.yaml
vendored
4
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1468,10 +1468,6 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
other:
|
other:
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
|
||||||
- adult_content
|
|
||||||
- graphic_violence
|
|
||||||
- other
|
|
||||||
Session:
|
Session:
|
||||||
properties:
|
properties:
|
||||||
SsoInitTokens:
|
SsoInitTokens:
|
||||||
|
|
|
||||||
|
|
@ -1316,10 +1316,6 @@ components:
|
||||||
enum: [Available, Unavailable]
|
enum: [Available, Unavailable]
|
||||||
|
|
||||||
SensitiveMediaWarning:
|
SensitiveMediaWarning:
|
||||||
required:
|
|
||||||
- "adult_content"
|
|
||||||
- "graphic_violence"
|
|
||||||
- "other"
|
|
||||||
properties:
|
properties:
|
||||||
adult_content:
|
adult_content:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue