This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 789e96c163 [#8706] fix(openAPI): fix missing policy ops in the openAPI 
entrance (#8708)
789e96c163 is described below

commit 789e96c163992237ffaf0c26c9cbd46124ca11ce
Author: mchades <[email protected]>
AuthorDate: Mon Sep 29 10:11:48 2025 +0800

    [#8706] fix(openAPI): fix missing policy ops in the openAPI entrance (#8708)
    
    ### What changes were proposed in this pull request?
    
    fix missing policy ops in the openAPI entrance
    
    ### Why are the changes needed?
    
    Fix: #8706
    
    ### Does this PR introduce _any_ user-facing change?
    
    no
    
    ### How was this patch tested?
    
    CI pass
---
 docs/open-api/openapi.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/open-api/openapi.yaml b/docs/open-api/openapi.yaml
index 417e7eaca6..746f82141d 100644
--- a/docs/open-api/openapi.yaml
+++ b/docs/open-api/openapi.yaml
@@ -65,6 +65,9 @@ paths:
   
/metalakes/{metalake}/objects/{metadataObjectType}/{metadataObjectFullName}/tags:
     $ref: 
"./tags.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1objects~1%7BmetadataObjectType%7D~1%7BmetadataObjectFullName%7D~1tags"
 
+  
/metalakes/{metalake}/objects/{metadataObjectType}/{metadataObjectFullName}/policies:
+    $ref: 
"./policies.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1objects~1%7BmetadataObjectType%7D~1%7BmetadataObjectFullName%7D~1policies"
+
   
/metalakes/{metalake}/objects/{metadataObjectType}/{metadataObjectFullName}/statistics:
     $ref: 
"./statistics.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1objects~1%7BmetadataObjectType%7D~1%7BmetadataObjectFullName%7D~1statistics"
 
@@ -89,6 +92,9 @@ paths:
   
/metalakes/{metalake}/objects/{metadataObjectType}/{metadataObjectFullName}/tags/{tag}:
     $ref: 
"./tags.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1objects~1%7BmetadataObjectType%7D~1%7BmetadataObjectFullName%7D~1tags~1%7Btag%7D"
 
+  
/metalakes/{metalake}/objects/{metadataObjectType}/{metadataObjectFullName}/policies/{policy}:
+    $ref: 
"./policies.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1objects~1%7BmetadataObjectType%7D~1%7BmetadataObjectFullName%7D~1policies~1%7Bpolicy%7D"
+
   /metalakes/{metalake}/tags/{tag}/objects:
     $ref: 
"./tags.yaml#/paths/~1metalakes~1%7Bmetalake%7D~1tags~1%7Btag%7D~1objects"
 

Reply via email to