amogh-jahagirdar commented on code in PR #9695:
URL: https://github.com/apache/iceberg/pull/9695#discussion_r1692067555


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3647,6 +3826,151 @@ components:
             type: integer
           description: "List of equality field IDs"
 
+    DeleteFile:
+      oneOf:
+        - $ref: '#/components/schemas/PositionDeleteFile'
+        - $ref: '#/components/schemas/EqualityDeleteFile'
+
+    PreplanTableRequest:
+      type: object
+      oneOf:
+        - required:
+            - snapshot-id
+        - required:
+            - start-snapshot-id

Review Comment:
   
https://stackoverflow.com/questions/72218716/how-to-define-in-swagger-spec-either-of-two-properties-are-not-null-and-required/72247466#72247466
 maybe a better example, but istead of `anyOf` it's `oneOf` 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to