lasdf1234 commented on code in PR #14520:
URL: https://github.com/apache/gravitino/pull/14520#discussion_r4455384379


##########
docs/open-api/policies.yaml:
##########
@@ -894,7 +894,10 @@ components:
           nullable: true
         policyType:
           type: string
-          description: The type of the policy
+          description: >-
+            The type of the policy. Known values are matched 
case-insensitively; the server

Review Comment:
   Addressed: request OpenAPI now lists both lowercase and uppercase built-in 
`policyType` values (enums, `discriminator.mapping`, and custom `not.enum`), so 
`SYSTEM_ICEBERG_COMPACTION` + `{"maxPartitionNum":5}` validates against the 
top-level create/update request schemas. Response schemas remain canonical 
lowercase. Description updated accordingly; added a create example with the 
uppercase form. `./gradlew :docs:build` passes.



-- 
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