Skip to content

Commit cb520f8

Browse files
committed
correct discovery nodes optionals
1 parent d45bc3c commit cb520f8

File tree

5 files changed

+36
-29
lines changed

5 files changed

+36
-29
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/_types/DiscoveryNode.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export class DiscoveryNodeContent {
2828
name?: Name
2929
ephemeral_id: Id
3030
transport_address: TransportAddress
31-
external_id?: string
32-
attributes?: Dictionary<string, string>
33-
roles?: string[]
34-
version?: VersionString
35-
min_index_version?: integer
36-
max_index_version?: integer
31+
external_id: string
32+
attributes: Dictionary<string, string>
33+
roles: string[]
34+
version: VersionString
35+
min_index_version: integer
36+
max_index_version: integer
3737
}
3838

3939
/**
@@ -44,5 +44,5 @@ export class DiscoveryNodeCompact {
4444
ephemeral_id: Id
4545
id: Id
4646
transport_address: TransportAddress
47-
attributes?: Dictionary<string, string>
47+
attributes: Dictionary<string, string>
4848
}

0 commit comments

Comments
 (0)