Skip to content

Commit 4659b3e

Browse files
[OpenAPI] Edit script language and context APIs (#3054) (#3065)
1 parent 6550fd7 commit 4659b3e

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
@@ -177,10 +177,6 @@ actions:
177177
# S
178178
- name: script
179179
x-displayName: Script
180-
- name: get_script_context
181-
x-displayName: Script - Get contexts
182-
- name: get_script_languages
183-
x-displayName: Script - Get languages
184180
- name: search
185181
x-displayName: Search
186182
- 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)