Skip to content

Commit f8c7b25

Browse files
committed
Fix cat node overlays; generate output
1 parent e99eef2 commit f8c7b25

File tree

5 files changed

+104
-99
lines changed

5 files changed

+104
-99
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,12 @@ actions:
6565
- target: "$.components['schemas']['_types.aggregations.RandomSamplerAggregation']"
6666
description: Add x-model
6767
update:
68-
x-model: true
68+
x-model: true
69+
# Remove long lists of enum values
70+
- target: "$.components['schemas']['cat._types.CatNodeColumn'].anyOf"
71+
description: Remove anyOf from cat nodes
72+
remove: true
73+
- target: "$.components['schemas']['cat._types.CatNodeColumn']"
74+
description: Add basic string data type for cat node columns
75+
update:
76+
type: string

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,9 +1092,6 @@ actions:
10921092
- target: "$.components['schemas']['cat._types.CatAnomalyDetectorColumn'].enum"
10931093
description: Remove enum array from cat detectors
10941094
remove: true
1095-
- target: "$.components['schemas']['cat._types.CatNodeColumn'].enum"
1096-
description: Remove enum array from cat nodes
1097-
remove: true
10981095
- target: "$.components['schemas']['cat._types.CatDfaColumn'].enum"
10991096
description: Remove enum array from cat data frame analytics
11001097
remove: true

0 commit comments

Comments
 (0)