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

roryqi 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 f4c15eff85 [#6081] docs: add required tag to type in set owner's 
request body (#6989)
f4c15eff85 is described below

commit f4c15eff85301f3be4866664f9ef4b1e8c4db122
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Apr 17 18:14:48 2025 +0800

    [#6081] docs: add required tag to type in set owner's request body (#6989)
    
    ### What changes were proposed in this pull request?
    
    Added a required tag to `type` under `OwnerSetRequest`.
    
    ### Why are the changes needed?
    
    `type` in request body is mandatory.
    
    Fix: #6081
    
    ### Does this PR introduce _any_ user-facing change?
    
    Yes, just OpenAPI docs at
    https://gravitino.apache.org/docs/0.7.0-incubating/api/rest/set-owner/
    
    ### How was this patch tested?
    
    <img width="362" alt="image"
    
src="https://github.com/user-attachments/assets/b55bd402-c7db-4af7-800b-18348d962be0";
    />
    
    Co-authored-by: yunchi <[email protected]>
---
 docs/open-api/owners.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/open-api/owners.yaml b/docs/open-api/owners.yaml
index 0ef0d4e9f0..5e8dea0d87 100644
--- a/docs/open-api/owners.yaml
+++ b/docs/open-api/owners.yaml
@@ -110,6 +110,7 @@ components:
       type: object
       required:
         - name
+        - type
       properties:
         name:
           type: string

Reply via email to