OpenApi: Improve test coverage
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / controller-opflex.json
diff --git a/restconf/restconf-openapi/src/test/resources/yang-document/controller-opflex.json b/restconf/restconf-openapi/src/test/resources/yang-document/controller-opflex.json
new file mode 100644 (file)
index 0000000..492bc77
--- /dev/null
@@ -0,0 +1,28 @@
+{
+  "openapi": "3.0.3",
+  "info": {
+    "version": "1.0.0",
+    "title": "opflex",
+    "description": "We are providing full API for configurational data which can be edited (by POST, PUT, PATCH and DELETE).\nFor operational data we only provide GET API.\n\nFor majority of request you can see only config data in examples. That’s because we can show only one example\nper request. The exception when you can see operational data in example is when data are representing\noperational (config false) container with no config data in it."
+  },
+  "servers": [
+    {
+      "url": "http://localhost:8181/"
+    }
+  ],
+  "paths": {},
+  "components": {
+    "schemas": {},
+    "securitySchemes": {
+      "basicAuth": {
+        "scheme": "basic",
+        "type": "http"
+      }
+    }
+  },
+  "security": [
+    {
+      "basicAuth": []
+    }
+  ]
+}
\ No newline at end of file