Skip to content

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

[#11985] fix(openapi): clear the remaining non-lineage recommended-strict findings (#11990)

Nevin Zheng988bbe043881
diff --git a/docs/open-api/datatype.yaml b/docs/open-api/datatype.yaml
index 7cc49e1a7d..213f439138 100644
--- a/docs/open-api/datatype.yaml
+++ b/docs/open-api/datatype.yaml
@@ -31,37 +31,15 @@ components:
PrimitiveType:
type: string
- example:
- - "boolean"
- - "byte"
- - "byte unsigned"
- - "short"
- - "short unsigned"
- - "integer"
- - "integer unsigned"
- - "long"
- - "long unsigned"
- - "float"
- - "double"
- - "decimal(10,2)"
- - "date"
- - "time(3)"
- - "timestamp(3)"
- - "timestamp_tz(3)"
- - "string"
- - "char(10)"
- - "varchar(10)"
- - "interval_day"
- - "interval_year"
- - "uuid"
- - "fixed(16)"
- - "binary"
- - "variant"
- - "null"
- - "geometry"
- - "geometry(srid:3857)"
- - "geography"
- - "geography(EPSG:4326,karney)"
+ description: >-
+ The string name of a primitive type. Simple names: boolean, byte,
+ byte unsigned, short, short unsigned, integer, integer unsigned, long,
+ long unsigned, float, double, date, string, binary, uuid, interval_day,
+ interval_year, variant, null, geometry, geography. Parameterized names:
+ decimal(precision,scale), time(precision), timestamp(precision),
+ timestamp_tz(precision), char(length), varchar(length), fixed(length),
+ geometry(srid), geography(crs,algorithm).
+ example: "integer"
UnionType:
type: object
@@ -203,9 +181,7 @@ components:
description: The unparsed type
example: {
"type": "unparsed",
- "unparsedType": [
- "unknown-type"
- ]
+ "unparsedType": "unknown-type"
}
ExternalType:
diff --git a/docs/open-api/openapi.yaml b/docs/open-api/openapi.yaml
index c7c7b2f560..ac73f3fa0c 100644
--- a/docs/open-api/openapi.yaml
+++ b/docs/open-api/openapi.yaml
@@ -46,6 +46,7 @@ servers:
security:
- OAuth2WithJWT: [serviceAudience]
- BasicAuth: []
+ - KerberosAuth: []
paths:
/health:
diff --git a/docs/open-api/policies.yaml b/docs/open-api/policies.yaml
index ba864638ed..d7bbf0da11 100644
--- a/docs/open-api/policies.yaml
+++ b/docs/open-api/policies.yaml
@@ -635,6 +635,7 @@ components:
"@type": "updateContent",
"policyType": "custom",
"newContent": {
+ "policyType": "custom",
"customRules": {
"rule1": 456
},
diff --git a/docs/open-api/tables.yaml b/docs/open-api/tables.yaml
index b4e537c9bd..efe713c2d3 100644
--- a/docs/open-api/tables.yaml
+++ b/docs/open-api/tables.yaml
@@ -524,10 +524,9 @@ components:
description: The comment of the column to add
nullable: true
position:
- $ref: "#/components/schemas/ColumnPosition"
+ allOf:
+ - $ref: "#/components/schemas/ColumnPosition"
description: The position of the column to add
- nullable: true
- default: "default"
nullable:
type: boolean
description: Whether the column to add is nullable
@@ -539,9 +538,9 @@ components:
nullable: true
default: false
defaultValue:
- $ref: "#/components/schemas/ColumnDefaultValue"
+ allOf:
+ - $ref: "#/components/schemas/ColumnDefaultValue"
description: The default value of the column to add
- nullable: true
example: {
"@type": "addColumn",
"fieldName": [ "new_column" ],