forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_core.get_script_context.yaml
45 lines (45 loc) · 1.01 KB
/
_core.get_script_context.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
openapi: 3.1.0
info:
title: Schemas of `_core.get_script_context` Category
description: Schemas of `_core.get_script_context` category.
version: 1.0.0
paths: {}
components:
schemas:
Context:
type: object
properties:
methods:
type: array
items:
$ref: '#/components/schemas/ContextMethod'
name:
$ref: '_common.yaml#/components/schemas/Name'
required:
- methods
- name
ContextMethod:
type: object
properties:
name:
$ref: '_common.yaml#/components/schemas/Name'
return_type:
type: string
params:
type: array
items:
$ref: '#/components/schemas/ContextMethodParam'
required:
- name
- params
- return_type
ContextMethodParam:
type: object
properties:
name:
$ref: '_common.yaml#/components/schemas/Name'
type:
type: string
required:
- name
- type