diff --git a/services/external-actor-gateway-service/openapi.yaml b/services/external-actor-gateway-service/openapi.yaml index d4a7747..0cd6161 100644 --- a/services/external-actor-gateway-service/openapi.yaml +++ b/services/external-actor-gateway-service/openapi.yaml @@ -69,6 +69,11 @@ components: metaDescription: null purpose: null enrichmentStatus: pending + 4Example: + description: Example values extracted from schema defaults + summary: 4 example + value: + requires: [] CreateAudienceRequestExample: description: Example values extracted from schema defaults summary: CreateAudienceRequest example @@ -669,7 +674,7 @@ components: - type - youtubeUrl additionalProperties: false - BodyPropsSchemaTypeSchema: + BodyRequiresTypeSchema: type: object properties: type: @@ -678,14 +683,15 @@ components: body: type: string maxLength: 100000 - propsSchema: - type: object - propertyNames: - type: string - additionalProperties: {} + requires: + default: [] + type: array + items: + $ref: "#/components/schemas/NestedObject3" required: - type - body + - requires additionalProperties: false TypeVideoSchema: type: object @@ -2798,6 +2804,17 @@ components: - newValue - status additionalProperties: false + NestedObject3: + type: object + properties: + packId: + $ref: "#/components/schemas/PackId" + packVersion: + $ref: "#/components/schemas/PackVersion" + required: + - packId + - packVersion + additionalProperties: false OgImage: type: object properties: @@ -2810,6 +2827,16 @@ components: - type - fileId additionalProperties: false + PackId: + type: string + minLength: 1 + maxLength: 120 + pattern: ^[a-z0-9][a-z0-9-]*$ + PackVersion: + type: string + minLength: 1 + maxLength: 60 + pattern: ^\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?$ PostAccount: type: object properties: @@ -2946,7 +2973,7 @@ components: - $ref: "#/components/schemas/FileIdTypeSchema" - $ref: "#/components/schemas/FileIdTypeSchema" - $ref: "#/components/schemas/TypeYoutubeUrlSchema" - - $ref: "#/components/schemas/BodyPropsSchemaTypeSchema" + - $ref: "#/components/schemas/BodyRequiresTypeSchema" createdAt: $ref: "#/components/schemas/UnnamedSchema" updatedAt: