-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed one of the duplicate '/_nodes/{metric}' and '/_nodes/{node_id…
…}' paths. (#416) * Removed one of the duplicate '/_nodes/{metric}' and '/_nodes/{node_id}' paths. Signed-off-by: dblock <[email protected]> * Allow either node ID or metric in /_nodes. Signed-off-by: dblock <[email protected]> * Added tests across namespace. Signed-off-by: dblock <[email protected]> * Added title to optional refs. Signed-off-by: dblock <[email protected]> * Fix metric schema. Co-authored-by: Thomas Farr <[email protected]> Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]> * Updated client generator guide. Signed-off-by: dblock <[email protected]> * Removed dup parts. Signed-off-by: dblock <[email protected]> --------- Signed-off-by: dblock <[email protected]> Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]> Co-authored-by: Thomas Farr <[email protected]>
- Loading branch information
Showing
8 changed files
with
97 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tools/tests/linter/fixtures/folder_validators/namespaces/invalid_folder/dup_path_d.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
paths: | ||
'/nodes/{metric}': {} | ||
'/nodes/{node_id}': {} |
6 changes: 6 additions & 0 deletions
6
...sts/linter/fixtures/folder_validators/namespaces/invalid_folder/dup_path_namespace_a.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: OpenSearch Indices API (Namespace 1) | ||
version: 1.0.0 | ||
paths: | ||
'/indices/{metric}': {} |
6 changes: 6 additions & 0 deletions
6
...sts/linter/fixtures/folder_validators/namespaces/invalid_folder/dup_path_namespace_b.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: OpenSearch Indices API (Namespace 2) | ||
version: 1.0.0 | ||
paths: | ||
'/indices/{node_id}': {} |