-
Notifications
You must be signed in to change notification settings - Fork 1
/
oms.yml
76 lines (76 loc) · 1.31 KB
/
oms.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
oms: 1
info:
version: 1.0.0
title: Storyscript
description: This is the Storyscript compiler as as service
license:
name: MIT
url: https://opensource.org/licenses/MIT
lifecycle:
startup:
command: ['python', '/app/app.py']
actions:
lex:
http:
path: /lex
method: post
port: 8000
arguments:
files:
type: map
required: true
in: requestBody
output:
type: object
properties:
stories:
type: map
parse:
http:
path: /parse
method: post
port: 8000
arguments:
files:
type: map
required: true
in: requestBody
output:
type: object
properties:
stories:
type: map
compile:
http:
path: /compile
method: post
port: 8000
arguments:
files:
type: map
required: true
in: requestBody
output:
type: object
contentType: application/json
properties:
stories:
type: map
services:
type: list
entrypoint:
type: list
grammar:
http:
path: /grammar
method: get
port: 8000
output:
type: string
version:
http:
path: /version
method: get
port: 8000
output:
type: string