Skip to content

Commit

Permalink
[Backport 8.x] [OpenAPI] Edit script language and context APIs (#3064)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 23, 2024
1 parent c714f0b commit 30571c1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 14 deletions.
4 changes: 0 additions & 4 deletions docs/overlays/elasticsearch-shared-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ actions:
# S
- name: script
x-displayName: Script
- name: get_script_context
x-displayName: Script - Get contexts
- name: get_script_languages
x-displayName: Script - Get languages
- name: search
x-displayName: Search
- name: search_application
Expand Down
10 changes: 6 additions & 4 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
import { RequestBase } from '@_types/Base'

/**
* Get script contexts.
*
* Get a list of supported script contexts and their methods.
* @rest_spec_name get_script_context
* @availability stack stability=stable
* @doc_tag script
*/
export interface Request extends RequestBase {}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
import { RequestBase } from '@_types/Base'

/**
* Get script languages.
*
* Get a list of available script types, languages, and contexts.
* @rest_spec_name get_script_languages
* @availability stack stability=stable
* @doc_tag script
*/
export interface Request extends RequestBase {}

0 comments on commit 30571c1

Please sign in to comment.