This is an automated email from the ASF dual-hosted git repository.
yufei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 772a4028 Spec: Fix incorrect reference to IcebergErrorResponse in
notifications-api.yaml (#957)
772a4028 is described below
commit 772a402877f060dfe370d41e8074855f86fc6bb8
Author: Honah J. <[email protected]>
AuthorDate: Thu Feb 6 14:56:58 2025 -0800
Spec: Fix incorrect reference to IcebergErrorResponse in
notifications-api.yaml (#957)
---
spec/README.md | 2 +-
spec/generated/bundled-polaris-catalog-service.yaml | 15 ++-------------
spec/polaris-catalog-apis/notifications-api.yaml | 4 ++--
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/spec/README.md b/spec/README.md
index 8f52add5..eacdee9b 100644
--- a/spec/README.md
+++ b/spec/README.md
@@ -23,7 +23,7 @@ npm install @redocly/cli -g
### Generate the Bundle
```
-redocly bundle spec/polaris-catalog-open-api.yaml -o
spec/generated/generated-polaris-catalog-service.yaml
+redocly bundle spec/polaris-catalog-service.yaml -o
spec/generated/bundled-polaris-catalog-service.yaml
```
diff --git a/spec/generated/bundled-polaris-catalog-service.yaml
b/spec/generated/bundled-polaris-catalog-service.yaml
index 297f7dac..1b10c66d 100644
--- a/spec/generated/bundled-polaris-catalog-service.yaml
+++ b/spec/generated/bundled-polaris-catalog-service.yaml
@@ -1336,7 +1336,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/responses-IcebergErrorResponse'
+ $ref: '#/components/schemas/IcebergErrorResponse'
examples:
TableToLoadDoesNotExist:
$ref: '#/components/examples/NoSuchTableError'
@@ -1345,7 +1345,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/responses-IcebergErrorResponse'
+ $ref: '#/components/schemas/IcebergErrorResponse'
example:
summary: The timestamp of the received notification is older
than or equal to the most recent timestamp Polaris has already processed for
the specified table.
value:
@@ -3257,17 +3257,6 @@ components:
$ref: '#/components/schemas/NotificationType'
payload:
$ref: '#/components/schemas/TableUpdateNotification'
- responses-IcebergErrorResponse:
- description: JSON wrapper for all error responses (non-2xx)
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/IcebergErrorResponse'
- example:
- error:
- message: The server does not support this operation
- type: UnsupportedOperationException
- code: 406
responses:
BadRequestErrorResponse:
description: Indicates a bad request error. It could be caused by an
unexpected request body format or other forms of request validation failure,
such as invalid json. Usually serves application/json content, although in some
cases simple text/plain content might be returned by the server's middleware.
diff --git a/spec/polaris-catalog-apis/notifications-api.yaml
b/spec/polaris-catalog-apis/notifications-api.yaml
index a238780a..aa11ab32 100644
--- a/spec/polaris-catalog-apis/notifications-api.yaml
+++ b/spec/polaris-catalog-apis/notifications-api.yaml
@@ -68,7 +68,7 @@ paths:
content:
application/json:
schema:
- $ref:
'../rest-catalog-open-api.yaml#/components/responses/IcebergErrorResponse'
+ $ref:
'../rest-catalog-open-api.yaml#/components/schemas/IcebergErrorResponse'
examples:
TableToLoadDoesNotExist:
$ref:
'../rest-catalog-open-api.yaml#/components/examples/NoSuchTableError'
@@ -79,7 +79,7 @@ paths:
content:
application/json:
schema:
- $ref:
'../rest-catalog-open-api.yaml#/components/responses/IcebergErrorResponse'
+ $ref:
'../rest-catalog-open-api.yaml#/components/schemas/IcebergErrorResponse'
example:
$ref: '#/components/examples/OutOfOrderNotificationError'
419: