Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions open-api/rest-catalog-open-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,10 @@ class PlanStatus(BaseModel):
class RegisterTableRequest(BaseModel):
name: str
metadata_location: str = Field(..., alias='metadata-location')
overwrite: Optional[bool] = Field(
False,
description='Whether to overwrite table metadata if the table already exists',
)


class TokenType(BaseModel):
Expand Down
4 changes: 4 additions & 0 deletions open-api/rest-catalog-open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3463,6 +3463,10 @@ components:
type: string
metadata-location:
type: string
overwrite:
description: Whether to overwrite table metadata if the table already exists
type: boolean
default: false

CreateViewRequest:
type: object
Expand Down