Skip to content

Commit 8f7ceb8

Browse files
committed
Fix cat node overlays; generate output
1 parent cc80438 commit 8f7ceb8

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
@@ -1081,9 +1081,6 @@ actions:
10811081
- target: "$.components['schemas']['cat._types.CatAnomalyDetectorColumn'].enum"
10821082
description: Remove enum array from cat detectors
10831083
remove: true
1084-
- target: "$.components['schemas']['cat._types.CatNodeColumn'].enum"
1085-
description: Remove enum array from cat nodes
1086-
remove: true
10871084
- target: "$.components['schemas']['cat._types.CatDfaColumn'].enum"
10881085
description: Remove enum array from cat data frame analytics
10891086
remove: true

0 commit comments

Comments
 (0)