Skip to content

Commit 69a3f53

Browse files
committed
Add refresh to security.grant_api_key
1 parent 069159f commit 69a3f53

File tree

5 files changed

+40
-9
lines changed

5 files changed

+40
-9
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 12 additions & 0 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: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@
5555
],
5656
"response": []
5757
},
58-
"security.grant_api_key": {
59-
"request": [
60-
"Request: missing json spec query parameter 'refresh'"
61-
],
62-
"response": []
63-
},
6458
"snapshot.delete": {
6559
"request": [
6660
"Request: missing json spec query parameter 'wait_for_completion'"

output/typescript/types.ts

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

specification/security/grant_api_key/SecurityGrantApiKeyRequest.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import { RequestBase } from '@_types/Base'
21-
import { Password, Username } from '@_types/common'
21+
import { Password, Refresh, Username } from '@_types/common'
2222
import { ApiKeyGrantType, GrantApiKey } from './types'
2323

2424
/**
@@ -57,6 +57,16 @@ export interface Request extends RequestBase {
5757
methods: ['POST']
5858
}
5959
]
60+
query_parameters: {
61+
/**
62+
* If 'true', Elasticsearch refreshes the affected shards to make this operation
63+
* visible to search.
64+
* If 'wait_for', it waits for a refresh to make this operation visible to search.
65+
* If 'false', nothing is done with refreshes.
66+
* @server_default false
67+
*/
68+
refresh?: Refresh
69+
}
6070
body: {
6171
/**
6272
* The API key.

0 commit comments

Comments
 (0)