You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/05/30 14:46:31 UTC

[iceberg] branch master updated: OpenAPI: Move to oneOf for types (#4899)

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

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 2de91b616 OpenAPI: Move to oneOf for types (#4899)
2de91b616 is described below

commit 2de91b616a61b8da1ae46a4ddb05365f857b5a08
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Mon May 30 16:46:24 2022 +0200

    OpenAPI: Move to oneOf for types (#4899)
---
 open-api/rest-catalog-open-api.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/open-api/rest-catalog-open-api.yaml b/open-api/rest-catalog-open-api.yaml
index d33203b3d..2f2072153 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -978,7 +978,7 @@ components:
           type: boolean
 
     Type:
-      anyOf:
+      oneOf:
         - $ref: '#/components/schemas/PrimitiveType'
         - $ref: '#/components/schemas/StructType'
         - $ref: '#/components/schemas/ListType'