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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org