From d0c044c742ff5d031f2b5aa0fc61d08c14273cb2 Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Wed, 17 Apr 2024 16:15:47 -0700 Subject: [PATCH] fix: api schema --- packages/api/src/schema/api-schema.yaml | 33 +++++++++++++------------ 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/api/src/schema/api-schema.yaml b/packages/api/src/schema/api-schema.yaml index 27a7e1b736..8f79fe542d 100644 --- a/packages/api/src/schema/api-schema.yaml +++ b/packages/api/src/schema/api-schema.yaml @@ -1990,22 +1990,23 @@ components: Helper syntax to specify an unverified creator ID, fully managed by the developer. creator-id: - type: object - additionalProperties: false - required: - - type - - value - properties: - type: - type: string - enum: - - unverified - example: "unverified" - value: - type: string - description: - Developer-managed ID of the user who created the resource. - example: "user123" + oneOf: + - type: object + additionalProperties: false + required: + - type + - value + properties: + type: + type: string + enum: + - unverified + example: "unverified" + value: + type: string + description: + Developer-managed ID of the user who created the resource. + example: "user123" export-task-params: description: Parameters for the export task