Eric Debeau | d6541d8 | 2019-04-10 13:48:42 +0000 | [diff] [blame^] | 1 | { |
| 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 | } |