Skip to content

Commit 6cbaff5

Browse files
authored
[OpenAPI] Edit script language and context APIs (#3054)
1 parent 9f85ee9 commit 6cbaff5

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ actions:
167167
# S
168168
- name: script
169169
x-displayName: Script
170-
- name: get_script_context
171-
x-displayName: Script - Get contexts
172-
- name: get_script_languages
173-
x-displayName: Script - Get languages
174170
- name: search
175171
x-displayName: Search
176172
- name: search_application

output/openapi/elasticsearch-openapi.json

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

specification/_global/get_script_context/GetScriptContextRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23+
* Get script contexts.
24+
*
25+
* Get a list of supported script contexts and their methods.
2326
* @rest_spec_name get_script_context
2427
* @availability stack stability=stable
28+
* @doc_tag script
2529
*/
2630
export interface Request extends RequestBase {}

specification/_global/get_script_languages/GetScriptLanguagesRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23+
* Get script languages.
24+
*
25+
* Get a list of available script types, languages, and contexts.
2326
* @rest_spec_name get_script_languages
2427
* @availability stack stability=stable
28+
* @doc_tag script
2529
*/
2630
export interface Request extends RequestBase {}

0 commit comments

Comments
 (0)