This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new db3fa83ae4 REST Spec: Return 204 on no content response (#7229)
db3fa83ae4 is described below
commit db3fa83ae487e5be10df843817c0fecd598c8feb
Author: Haizhou Zhao <[email protected]>
AuthorDate: Thu Jun 29 06:20:46 2023 -0700
REST Spec: Return 204 on no content response (#7229)
---
open-api/rest-catalog-open-api.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/open-api/rest-catalog-open-api.yaml
b/open-api/rest-catalog-open-api.yaml
index f75b74e200..29b19e4a1b 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -727,8 +727,8 @@ paths:
description:
Check if a table exists within a given namespace. This request does
not return a response body.
responses:
- 200:
- description: OK - Table Exists
+ 204:
+ description: Success, no content
400:
description: Bad Request
401:
@@ -765,8 +765,8 @@ paths:
$ref: '#/components/examples/RenameTableSameNamespace'
required: true
responses:
- 200:
- description: OK
+ 204:
+ description: Success, no content
400:
$ref: '#/components/responses/BadRequestErrorResponse'
401: