This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new ba1cd36fbb OpenAPI: Fix additionalProperties for SnapshotSummary
(#9838)
ba1cd36fbb is described below
commit ba1cd36fbbd92e35bf0ad1667daa1c18be723521
Author: Haizhou Zhao <[email protected]>
AuthorDate: Thu Apr 4 14:32:51 2024 -0700
OpenAPI: Fix additionalProperties for SnapshotSummary (#9838)
* [ISSUE-9837] Correct additionalProperties for SnapshotSummary Model
* Include minimal change to generated python files
---------
Co-authored-by: Haizhou Zhao <[email protected]>
Co-authored-by: Steve Zhang <[email protected]>
---
open-api/rest-catalog-open-api.py | 1 -
open-api/rest-catalog-open-api.yaml | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/open-api/rest-catalog-open-api.py
b/open-api/rest-catalog-open-api.py
index 7bd97b6988..e13aeeeec5 100644
--- a/open-api/rest-catalog-open-api.py
+++ b/open-api/rest-catalog-open-api.py
@@ -171,7 +171,6 @@ class SortOrder(BaseModel):
class Summary(BaseModel):
operation: Literal['append', 'replace', 'overwrite', 'delete']
- additionalProperties: Optional[str] = None
class Snapshot(BaseModel):
diff --git a/open-api/rest-catalog-open-api.yaml
b/open-api/rest-catalog-open-api.yaml
index 161d5e0fcf..67dc235d3b 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -1986,8 +1986,8 @@ components:
operation:
type: string
enum: ["append", "replace", "overwrite", "delete"]
- additionalProperties:
- type: string
+ additionalProperties:
+ type: string
schema-id:
type: integer