diff --git a/dist/compatible/paths/other.yaml b/dist/compatible/paths/other.yaml index 0d28120..02729a8 100644 --- a/dist/compatible/paths/other.yaml +++ b/dist/compatible/paths/other.yaml @@ -47,6 +47,8 @@ components: superFollowersCount: type: integer superFollowsApplicationStatus: + enum: + - NotStarted type: string userFeatures: $ref: '#/components/schemas/UserFeatures' diff --git a/dist/compatible/schemas/content.yaml b/dist/compatible/schemas/content.yaml index cf53767..da479f4 100644 --- a/dist/compatible/schemas/content.yaml +++ b/dist/compatible/schemas/content.yaml @@ -138,6 +138,9 @@ components: additionalProperties: true type: object displayType: + enum: + - Vertical + - VerticalConversation type: string entryType: $ref: '#/components/schemas/ContentEntryType' @@ -185,6 +188,9 @@ components: itemType: $ref: '#/components/schemas/ContentItemType' userDisplayType: + enum: + - User + - UserDetailed type: string user_results: $ref: ./user.yaml#/components/schemas/UserResults diff --git a/dist/compatible/schemas/tweet.yaml b/dist/compatible/schemas/tweet.yaml index c18e3fc..5fe8e20 100644 --- a/dist/compatible/schemas/tweet.yaml +++ b/dist/compatible/schemas/tweet.yaml @@ -69,6 +69,8 @@ components: sizes: $ref: '#/components/schemas/MediaSizes' type: + enum: + - photo type: string url: format: uri @@ -117,6 +119,10 @@ components: sizes: $ref: '#/components/schemas/MediaSizes' type: + enum: + - photo + - video + - animated_gif type: string url: format: uri @@ -170,6 +176,9 @@ components: h: type: integer resize: + enum: + - crop + - fit type: string w: type: integer @@ -418,6 +427,8 @@ components: pattern: ^[0-9]+$ type: string state: + enum: + - EnabledWithCount type: string required: - state @@ -456,6 +467,8 @@ components: extMediaAvailability: properties: status: + enum: + - Available type: string required: - status diff --git a/dist/docs/paths/other.yaml b/dist/docs/paths/other.yaml index 0d28120..02729a8 100644 --- a/dist/docs/paths/other.yaml +++ b/dist/docs/paths/other.yaml @@ -47,6 +47,8 @@ components: superFollowersCount: type: integer superFollowsApplicationStatus: + enum: + - NotStarted type: string userFeatures: $ref: '#/components/schemas/UserFeatures' diff --git a/dist/docs/schemas/content.yaml b/dist/docs/schemas/content.yaml index cf53767..da479f4 100644 --- a/dist/docs/schemas/content.yaml +++ b/dist/docs/schemas/content.yaml @@ -138,6 +138,9 @@ components: additionalProperties: true type: object displayType: + enum: + - Vertical + - VerticalConversation type: string entryType: $ref: '#/components/schemas/ContentEntryType' @@ -185,6 +188,9 @@ components: itemType: $ref: '#/components/schemas/ContentItemType' userDisplayType: + enum: + - User + - UserDetailed type: string user_results: $ref: ./user.yaml#/components/schemas/UserResults diff --git a/dist/docs/schemas/tweet.yaml b/dist/docs/schemas/tweet.yaml index c18e3fc..5fe8e20 100644 --- a/dist/docs/schemas/tweet.yaml +++ b/dist/docs/schemas/tweet.yaml @@ -69,6 +69,8 @@ components: sizes: $ref: '#/components/schemas/MediaSizes' type: + enum: + - photo type: string url: format: uri @@ -117,6 +119,10 @@ components: sizes: $ref: '#/components/schemas/MediaSizes' type: + enum: + - photo + - video + - animated_gif type: string url: format: uri @@ -170,6 +176,9 @@ components: h: type: integer resize: + enum: + - crop + - fit type: string w: type: integer @@ -418,6 +427,8 @@ components: pattern: ^[0-9]+$ type: string state: + enum: + - EnabledWithCount type: string required: - state @@ -456,6 +467,8 @@ components: extMediaAvailability: properties: status: + enum: + - Available type: string required: - status