Skip to content

Commit

Permalink
correct discovery nodes optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Dec 5, 2024
1 parent d45bc3c commit cb520f8
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 29 deletions.
11 changes: 9 additions & 2 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions specification/ml/_types/DiscoveryNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ export class DiscoveryNodeContent {
name?: Name
ephemeral_id: Id
transport_address: TransportAddress
external_id?: string
attributes?: Dictionary<string, string>
roles?: string[]
version?: VersionString
min_index_version?: integer
max_index_version?: integer
external_id: string
attributes: Dictionary<string, string>
roles: string[]
version: VersionString
min_index_version: integer
max_index_version: integer
}

/**
Expand All @@ -44,5 +44,5 @@ export class DiscoveryNodeCompact {
ephemeral_id: Id
id: Id
transport_address: TransportAddress
attributes?: Dictionary<string, string>
attributes: Dictionary<string, string>
}

0 comments on commit cb520f8

Please sign in to comment.