summaryrefslogtreecommitdiffstats
path: root/docs/guides/onap-documentation/media/myAPI2.json
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2022-08-02 13:28:17 +0200
committerthmsdt <thomas.kulik@telekom.de>2022-08-04 11:51:51 +0200
commit21d59414fca273aade30aa4209aca9bb35a5f78f (patch)
treebd1a7449fddb04204f3c759b2877b49f92fe6a17 /docs/guides/onap-documentation/media/myAPI2.json
parent830bc298c26764f3d98f3ca98adf7b3c1b3d0a3a (diff)
update and rearrange documentation related content
Issue-ID: DOC-798 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: Id454ec5f09903efb81123669e6eb024f21a08797
Diffstat (limited to 'docs/guides/onap-documentation/media/myAPI2.json')
-rw-r--r--docs/guides/onap-documentation/media/myAPI2.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/guides/onap-documentation/media/myAPI2.json b/docs/guides/onap-documentation/media/myAPI2.json
new file mode 100644
index 000000000..473d351b2
--- /dev/null
+++ b/docs/guides/onap-documentation/media/myAPI2.json
@@ -0,0 +1,37 @@
+{
+ "swagger" : "2.0",
+ "info" : {
+ "description" : "my API 2",
+ "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" : "/status",
+ "schemes" : [ "https" ],
+ "produces": [
+ "application/json;charset=utf-8"
+ ],
+ "paths" : {
+ "/status" : {
+ "get" : {
+ "summary" : "Displays status for my favorite component",
+ "description" : "Displays status for my favorite component",
+ "responses": {
+ "200": {
+ "description": "Service OK"
+ },
+ "503" : {
+ "description" : "Service Unavailable"
+ }
+ }
+ }
+ }
+ }
+}