mchades opened a new issue, #14666:
URL: https://github.com/apache/gravitino/issues/14666

   ### What would you like to be improved?
   
   The fileset, topic and partition OpenAPI definitions omit or misstate 
existing REST contracts:
   
   - Filesets omit the default-location requirement for multiple resolved 
locations, the `removeComment` update mapping, and filesystem-disabled and 
unknown-location errors. The documented `location_name` default is also 
incorrect.
   - All three omit authorization 403 responses. Topics and partitions also 
omit version/content-negotiation 406 responses and relevant 
unsupported-operation 501 responses.
   - `alterTopic` documents an already-exists 409 response although topic 
updates do not support renaming.
   
   ### How should we improve?
   
   Align the schemas, examples and responses with the current implementation, 
including inherited fileset locations, authorization-dependent 403/404 
behavior, and provider-dependent partition purging.
   
   Document the actual JSON error media type and version negotiation: 
unversioned `Accept` values use the version from `Content-Type`, if specified, 
or the default API version.
   
   Documentation only; no server behavior changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to