Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#11985] fix(openapi): restore the ExternalType variant to DataType (#11991)

Nevin Zheng849aa37c7167
diff --git a/docs/open-api/datatype.yaml b/docs/open-api/datatype.yaml
index d924754bbc..7cc49e1a7d 100644
--- a/docs/open-api/datatype.yaml
+++ b/docs/open-api/datatype.yaml
@@ -27,6 +27,7 @@ components:
- $ref: "#/components/schemas/MapType"
- $ref: "#/components/schemas/UnionType"
- $ref: "#/components/schemas/UnparsedType"
+ - $ref: "#/components/schemas/ExternalType"
PrimitiveType:
type: string
@@ -207,20 +208,20 @@ components:
]
}
- ExternalType:
- type: object
- required:
- - type
- - catalogString
- properties:
- type:
- type: string
- enum:
- - "external"
- catalogString:
- type: string
- description: The string representation of this type in the catalog
- example: {
- "type": "external",
- "catalogString": "user-defined"
- }
+ ExternalType:
+ type: object
+ required:
+ - type
+ - catalogString
+ properties:
+ type:
+ type: string
+ enum:
+ - "external"
+ catalogString:
+ type: string
+ description: The string representation of this type in the catalog
+ example: {
+ "type": "external",
+ "catalogString": "user-defined"
+ }