You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by su...@apache.org on 2024/10/18 13:14:05 UTC

(iceberg) 01/01: OpenAPI: Update Snapshots to be a common denominator of V1 and V2 specs

This is an automated email from the ASF dual-hosted git repository.

sungwy pushed a commit to branch sungwy-snapshots-v1-v2
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit 5a1c3b3f54546a27648194dfc9b58b1279052d5b
Author: Sung Yun <10...@users.noreply.github.com>
AuthorDate: Fri Oct 18 09:13:55 2024 -0400

    OpenAPI: Update Snapshots to be a common denominator of V1 and V2 specs
---
 open-api/rest-catalog-open-api.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/open-api/rest-catalog-open-api.yaml b/open-api/rest-catalog-open-api.yaml
index c9fda66f15..f1d776b36a 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -2321,8 +2321,6 @@ components:
       required:
         - snapshot-id
         - timestamp-ms
-        - manifest-list
-        - summary
       properties:
         snapshot-id:
           type: integer
@@ -2339,6 +2337,11 @@ components:
         manifest-list:
           type: string
           description: Location of the snapshot's manifest list file
+        manifests:
+          type: array
+          items:
+            type: string
+          description: A list of manifest file locations. Must be omitted if manifest-list is present
         summary:
           type: object
           required: