This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 8b01b24435 [#7888] fix incorrect path in docs for list partitions
(#7918)
8b01b24435 is described below
commit 8b01b24435fa835a6d14fa1bf2d8b8a85d034e14
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 4 19:50:05 2025 +0800
[#7888] fix incorrect path in docs for list partitions (#7918)
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
Examples:
- "[#123] feat(operator): support xxx"
- "[#233] fix: check null before access result in xxx"
- "[MINOR] refactor: fix typo in variable name"
- "[MINOR] docs: fix typo in README"
- "[#255] test: fix flaky test NameOfTheTest"
Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->
### What changes were proposed in this pull request?
Fix the incorrect path in OpenAPI docs for list partitions.
### Why are the changes needed?
The existing path has a typo.
Fix: #7888
### Does this PR introduce _any_ user-facing change?
Yes, user-facing OpenAPI doc.
### How was this patch tested?
Rendering `openapi.yaml`.
Signed-off-by: Yunchi Pang <[email protected]>
Co-authored-by: Yunchi Pang <[email protected]>
---
docs/open-api/openapi.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/open-api/openapi.yaml b/docs/open-api/openapi.yaml
index cf99fe0586..fe3f1c702f 100644
--- a/docs/open-api/openapi.yaml
+++ b/docs/open-api/openapi.yaml
@@ -98,7 +98,7 @@ paths:
/metalakes/{metalake}/catalogs/{catalog}/schemas/{schema}/tables/{table}:
$ref:
"./tables.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1catalogs~1%7Bcatalog%7D~1schemas~1%7Bschema%7D~1tables~1%7Btable%7D"
-
/metalaskes/{metalake}/catalogs/{catalog}/schemas/{schema}/tables/{table}/partitions:
+
/metalakes/{metalake}/catalogs/{catalog}/schemas/{schema}/tables/{table}/partitions:
$ref:
"./partitions.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1catalogs~1%7Bcatalog%7D~1schemas~1%7Bschema%7D~1tables~1%7Btable%7D~1partitions"
/metalakes/{metalake}/catalogs/{catalog}/schemas/{schema}/tables/{table}/partitions/{partition}: