UNPKG

3.4 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2018-03-30",
5 "endpointPrefix": "foo",
6 "protocol": "rest-json",
7 "serviceId": "Foo",
8 "uid": "foo-2018-03-30"
9 },
10 "operations": {
11 "BarOperation": {
12 "name": "BarOperation",
13 "http": {
14 "method": "GET",
15 "requireUri": "/"
16 },
17 "input": {
18 "shape": "BarOperationInput"
19 },
20 "output": {
21 "shape": "BarOperationOutput"
22 }
23 },
24 "EventStreamOnInputOperation": {
25 "name": "EventStreamOnInputOperation",
26 "http": {
27 "method": "GET",
28 "requireUri": "/"
29 },
30 "input": {
31 "shape": "EventStreamStructure"
32 }
33 },
34 "EventStreamOnInputPayloadOperation": {
35 "name": "EventStreamOnInputPayloadOperation",
36 "http": {
37 "method": "GET",
38 "requireUri": "/"
39 },
40 "input": {
41 "shape": "EventStreamPayload"
42 }
43 },
44 "EventStreamOnOutputOperation": {
45 "name": "EventStreamOnOutputOperation",
46 "http": {
47 "method": "GET",
48 "requireUri": "/"
49 },
50 "output": {
51 "shape": "EventStreamStructure"
52 }
53 },
54 "EventStreamOnOutputPayloadOperation": {
55 "name": "EventStreamOnOutputPayloadOperation",
56 "http": {
57 "method": "GET",
58 "requireUri": "/"
59 },
60 "output": {
61 "shape": "EventStreamPayload"
62 }
63 },
64 "BazOperation": {
65 "name": "BazOperation",
66 "http": {
67 "method": "GET",
68 "requireUri": "/"
69 },
70 "input": {
71 "shape": "BazOperationInput"
72 }
73 }
74 },
75 "shapes": {
76 "BarOperationInput": {
77 "type": "structure",
78 "members": {
79 "String": {
80 "shape": "StringShape"
81 }
82 }
83 },
84 "BarOperationOutput": {
85 "type": "structure",
86 "members": {
87 "String": {
88 "shape": "StringShape"
89 }
90 }
91 },
92 "BazOperationInput": {
93 "type": "structure",
94 "members": {
95 "BazString": {
96 "shape": "BazStringShape",
97 "timestampFormat": "iso8601"
98 }
99 }
100 },
101 "EventStreamPayload": {
102 "type": "structure",
103 "members": {
104 "Payload": {
105 "shape": "EventStreamStructure"
106 },
107 "payload": "Payload"
108 }
109 },
110 "EventStreamStructure": {
111 "type": "structure",
112 "members": {
113 "String": {
114 "shape": "StringShape"
115 }
116 },
117 "eventstream": true
118 },
119 "BazStringShape": {
120 "type": "timestamp",
121 "timestampFormat": "rfc822"
122 },
123 "StringShape": {
124 "type": "string"
125 }
126 }
127}