We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb47f18 commit 200f07eCopy full SHA for 200f07e
specs/search/common/schemas/SettingsResponse.yml
@@ -0,0 +1,13 @@
1
+settingsResponse:
2
+ allOf:
3
+ - $ref: '../../../common/schemas/IndexSettings.yml#/indexSettings'
4
+ - $ref: '#/WithPrimary'
5
+
6
+WithPrimary:
7
+ type: object
8
+ additionalProperties: false
9
+ properties:
10
+ primary:
11
+ type: string
12
+ description: |
13
+ Replica indices only: the name of the primary index for this replica.
specs/search/paths/settings/settings.yml
@@ -14,7 +14,7 @@ get:
14
content:
15
application/json:
16
schema:
17
- $ref: '../../../common/schemas/IndexSettings.yml#/indexSettings'
+ $ref: '../../common/schemas/SettingsResponse.yml#/settingsResponse'
18
'400':
19
$ref: '../../../common/responses/BadRequest.yml'
20
'402':
0 commit comments