Skip to content

Commit

Permalink
OpenAPI: Add description for AssignUUID (#8753)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastra authored Oct 11, 2023
1 parent b3ebccc commit aa43e1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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 @@ -230,6 +230,10 @@ class BaseUpdate(BaseModel):


class AssignUUIDUpdate(BaseUpdate):
"""
Assigning a UUID to a table/view should only be done when creating the table/view. It is not safe to re-assign the UUID if a table/view already has a UUID assigned
"""

uuid: str


Expand Down
1 change: 1 addition & 0 deletions open-api/rest-catalog-open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,7 @@ components:
- remove-properties

AssignUUIDUpdate:
description: Assigning a UUID to a table/view should only be done when creating the table/view. It is not safe to re-assign the UUID if a table/view already has a UUID assigned
allOf:
- $ref: '#/components/schemas/BaseUpdate'
- type: object
Expand Down

0 comments on commit aa43e1f

Please sign in to comment.