blob: 473d351b2c79bab84e85ba389915bf673e2867d8 [file] [log] [blame]
Eric Debeaud6541d82019-04-10 13:48:42 +00001{
2 "swagger" : "2.0",
3 "info" : {
4 "description" : "my API 2",
5 "version" : "1.0.0",
6 "title" : "API example",
7 "contact" : {
8 "email" : "onap@orange.com"
9 },
10 "license" : {
11 "name" : "Apache 2.0",
12 "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
13 }
14 },
15 "host" : "serverRoot",
16 "basePath" : "/status",
17 "schemes" : [ "https" ],
18 "produces": [
19 "application/json;charset=utf-8"
20 ],
21 "paths" : {
22 "/status" : {
23 "get" : {
24 "summary" : "Displays status for my favorite component",
25 "description" : "Displays status for my favorite component",
26 "responses": {
27 "200": {
28 "description": "Service OK"
29 },
30 "503" : {
31 "description" : "Service Unavailable"
32 }
33 }
34 }
35 }
36 }
37}