Skip to content

Commit

Permalink
Add distribution field to OpenSearchVersionInfo
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Jun 12, 2024
1 parent ababab0 commit 2b94230
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added linter to validate order of spec operations ([#325](https://github.com/opensearch-project/opensearch-api-specification/pull/326)) ([#326](https://github.com/opensearch-project/opensearch-api-specification/pull/326))
- Added support to read outputs from requests in tests([#324](https://github.com/opensearch-project/opensearch-api-specification/pull/324))
- Added `eslint-plugin-eslint-comments` ([#333](https://github.com/opensearch-project/opensearch-api-specification/pull/333))

- Added `distribution` field to `OpenSearchVersionInfo` ([#]())

### Changed

- Replaced Smithy with a native OpenAPI spec ([#189](https://github.com/opensearch-project/opensearch-api-specification/issues/189))
Expand Down
3 changes: 3 additions & 0 deletions spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,8 @@ components:
type: boolean
build_type:
type: string
distribution:
type: string
lucene_version:
$ref: '#/components/schemas/VersionString'
minimum_index_compatibility_version:
Expand All @@ -1813,6 +1815,7 @@ components:
- build_hash
- build_snapshot
- build_type
- distribution
- lucene_version
- minimum_index_compatibility_version
- minimum_wire_compatibility_version
Expand Down
1 change: 1 addition & 0 deletions tools/src/OpenSearchHttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface OpenSearchInfo {
build_hash: string
build_snapshot: boolean
build_type: string
distribution: string
lucene_version: string
minimum_index_compatibility_version: string
minimum_wire_compatibility_version: string
Expand Down

0 comments on commit 2b94230

Please sign in to comment.