Skip to content

Commit d3139f7

Browse files
authored
Fix cluster.get_component_template Request (#248)
1 parent 657f383 commit d3139f7

File tree

3 files changed

+38
-32
lines changed

3 files changed

+38
-32
lines changed

output/schema/schema.json

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34069,22 +34069,6 @@
3406934069
"attachedBehaviors": [
3407034070
"CommonQueryParameters"
3407134071
],
34072-
"body": {
34073-
"kind": "properties",
34074-
"properties": [
34075-
{
34076-
"name": "stub_c",
34077-
"required": true,
34078-
"type": {
34079-
"kind": "instance_of",
34080-
"type": {
34081-
"name": "string",
34082-
"namespace": "internal"
34083-
}
34084-
}
34085-
}
34086-
]
34087-
},
3408834072
"inherits": [
3408934073
{
3409034074
"type": {
@@ -34100,28 +34084,51 @@
3410034084
},
3410134085
"path": [
3410234086
{
34103-
"name": "stub_a",
34104-
"required": true,
34087+
"description": "The comma separated names of the component templates",
34088+
"name": "name",
34089+
"required": false,
3410534090
"type": {
3410634091
"kind": "instance_of",
3410734092
"type": {
34108-
"name": "string",
34093+
"name": "Name",
3410934094
"namespace": "internal"
3411034095
}
3411134096
}
3411234097
}
3411334098
],
3411434099
"query": [
3411534100
{
34116-
"name": "stub_b",
34117-
"required": true,
34101+
"name": "flat_settings",
34102+
"required": false,
3411834103
"type": {
3411934104
"kind": "instance_of",
3412034105
"type": {
34121-
"name": "string",
34106+
"name": "boolean",
3412234107
"namespace": "internal"
3412334108
}
3412434109
}
34110+
},
34111+
{
34112+
"name": "local",
34113+
"required": false,
34114+
"type": {
34115+
"kind": "instance_of",
34116+
"type": {
34117+
"name": "boolean",
34118+
"namespace": "internal"
34119+
}
34120+
}
34121+
},
34122+
{
34123+
"name": "master_timeout",
34124+
"required": false,
34125+
"type": {
34126+
"kind": "instance_of",
34127+
"type": {
34128+
"name": "Time",
34129+
"namespace": "common_options.time_unit"
34130+
}
34131+
}
3412534132
}
3412634133
]
3412734134
},

output/typescript/types.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3080,11 +3080,10 @@ export interface ClusterFileSystem {
30803080
}
30813081

30823082
export interface ClusterGetComponentTemplateRequest extends RequestBase {
3083-
stub_a: string
3084-
stub_b: string
3085-
body?: {
3086-
stub_c: string
3087-
}
3083+
name?: Name
3084+
flat_settings?: boolean
3085+
local?: boolean
3086+
master_timeout?: Time
30883087
}
30893088

30903089
export interface ClusterGetComponentTemplateResponse extends ResponseBase {

specification/specs/cluster/cluster_get_component_template/ClusterGetComponentTemplateRequest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
*/
2525
interface ClusterGetComponentTemplateRequest extends RequestBase {
2626
path_parts?: {
27-
stub_a: string
27+
name?: Name
2828
}
2929
query_parameters?: {
30-
stub_b: string
31-
}
32-
body?: {
33-
stub_c: string
30+
flat_settings?: boolean // Default: false
31+
local?: boolean // Default: false
32+
master_timeout?: Time // Default: 30s
3433
}
34+
body?: {}
3535
}

0 commit comments

Comments
 (0)