Skip to content

Commit

Permalink
OpenAPI: Fix additionalProperties for SnapshotSummary (apache#9838)
Browse files Browse the repository at this point in the history
* [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]>
  • Loading branch information
3 people authored Apr 4, 2024
1 parent 07246b1 commit ba1cd36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion open-api/rest-catalog-open-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ class SortOrder(BaseModel):

class Summary(BaseModel):
operation: Literal['append', 'replace', 'overwrite', 'delete']
additionalProperties: Optional[str] = None


class Snapshot(BaseModel):
Expand Down
4 changes: 2 additions & 2 deletions open-api/rest-catalog-open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1986,8 +1986,8 @@ components:
operation:
type: string
enum: ["append", "replace", "overwrite", "delete"]
additionalProperties:
type: string
additionalProperties:
type: string
schema-id:
type: integer

Expand Down

0 comments on commit ba1cd36

Please sign in to comment.