Rework javascript libraries
[clamp.git] / docs / swagger / swagger.json
index b8f422c..c794492 100644 (file)
@@ -2,7 +2,7 @@
 {
     "swagger":"2.0",
     "info":{
-        "version":"2.0.2-SNAPSHOT",
+        "version":"3.0.0-SNAPSHOT",
         "title":"clamp"
     },
     "host":"",
                 }
             }
         },
-        "/user/{userName}":{
+        "/healthcheck":{
+            "get":{
+                "description":"REST service that retrieves clds healthcheck information.",
+                "consumes":[
+                ],
+                "produces":[
+                    "application/json"
+                ],
+                "parameters":[
+                ],
+                "responses":{
+                    "200":{
+                        "description":"OK",
+                        "headers":{
+                        },
+                        "schema":{
+                            "$ref":"#/definitions/CldsHealthCheck"
+                        }
+                    },
+                    "500":{
+                        "description":"Internal Server Error",
+                        "headers":{
+                        },
+                        "schema":{
+                            "$ref":"#/definitions/CldsHealthCheck"
+                        }
+                    }
+                }
+            }
+        },
+        "/user/getUser":{
             "get":{
                 "description":"REST service that returns the username.",
                 "consumes":[
                     "text/plain"
                 ],
                 "parameters":[
-                    {
-                        "type":"string",
-                        "name":"userName",
-                        "in":"path",
-                        "required":true
-                    }
                 ],
                 "responses":{
                     "200":{