summaryrefslogtreecommitdiffstats
path: root/docs/guides/onap-documentation/media/myAPI1.json
blob: b611ad81cefd5ea0b69a71c2a4df02390a3c37ce (plain)
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
{
  "swagger" : "2.0",
  "info" : {
    "description" : "my API 1",
    "version" : "1.0.0",
    "title" : "API example",
    "contact" : {
      "email" : "onap@orange.com"
    },
    "license" : {
      "name" : "Apache 2.0",
      "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "host" : "serverRoot",
  "basePath" : "/healthCheck",
  "schemes" : [ "https" ],
  "produces": [
    "application/json;charset=utf-8"
  ],
  "paths" : {
    "/healthCheck" : {
      "get" : {
        "summary" : "Displays healhcheck for my favorite component",
        "description" : "Displays healthcheck for my favorite component",
        "responses": {
          "200": {
            "description": "Service OK"
          },
          "503" : {
            "description" : "Service Unavailable"
          }
        }
      }
    }
  }
}