nastra commented on code in PR #12518: URL: https://github.com/apache/iceberg/pull/12518#discussion_r1999268591
########## open-api/rest-catalog-open-api.yaml: ########## @@ -410,7 +410,17 @@ paths: 204: description: Success, no content 400: - $ref: '#/components/responses/BadRequestErrorResponse' + description: + A bad request error or a NamespaceNotEmptyException in case the namespace is not empty + content: + application/json: + schema: + $ref: '#/components/schemas/IcebergErrorResponse' + examples: + BadRequestExample: + $ref: '#/components/examples/BadRequestError' + NamespaceNotEmptyExample: Review Comment: @rdblue I've updated this to throw a 409 when a namespace isn't empty -- 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