OpenAPI: netopeer2 duplicated mapping key test
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / controller-all.json
index 26c50b10a4dda2d0d54f39f5750efe2fc67d7855..2b24cee46fd9ebc4577f5c810555c1315a67e153 100644 (file)
         "description": "",
         "summary": "PATCH - typed-params - Controller - enumeration"
       }
+    },
+    "/rests/operations/duplication-test:test-rpc": {
+      "post": {
+        "description": "",
+        "parameters": [],
+        "requestBody": {
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "input": {
+                    "$ref": "#/components/schemas/duplication-test_test-rpc_input",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/duplication-test_test-rpc_input"
+              }
+            }
+          },
+          "description": "test-rpc_input"
+        },
+        "responses": {
+          "204": {
+            "description": "RPC test-rpc success"
+          }
+        },
+        "summary": "POST - Controller - duplication-test - test-rpc",
+        "tags": [
+          "Controller duplication-test"
+        ]
+      }
+    },
+    "/rests/operations/duplication-test:test-rpc2": {
+      "post": {
+        "description": "",
+        "parameters": [],
+        "requestBody": {
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "input": {
+                    "$ref": "#/components/schemas/duplication-test_test-rpc2_input",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/duplication-test_test-rpc2_input"
+              }
+            }
+          },
+          "description": "test-rpc2_input"
+        },
+        "responses": {
+          "204": {
+            "description": "RPC test-rpc2 success"
+          }
+        },
+        "summary": "POST - Controller - duplication-test - test-rpc2",
+        "tags": [
+          "Controller duplication-test"
+        ]
+      }
     }
   },
   "components": {
         },
         "title": "test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys",
         "type": "object"
+      },
+      "duplication-test_first": {
+        "properties": {},
+        "title": "duplication-test_first",
+        "type": "object",
+        "xml": {
+          "name": "first",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+        }
+      },
+      "duplication-test_test-rpc2_input": {
+        "properties": {
+          "first": {
+            "$ref": "#/components/schemas/duplication-test_first1"
+          },
+          "input-leaf": {
+            "description": "",
+            "example": "Some input-leaf",
+            "type": "string"
+          }
+        },
+        "title": "duplication-test_test-rpc2_input",
+        "type": "object",
+        "xml": {
+          "name": "input",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test"
+        }
+      },
+      "duplication-test_test-rpc_input": {
+        "properties": {
+          "first": {
+            "$ref": "#/components/schemas/duplication-test_first1"
+          },
+          "input-leaf": {
+            "description": "",
+            "example": "Some input-leaf",
+            "type": "string"
+          }
+        },
+        "title": "duplication-test_test-rpc_input",
+        "type": "object",
+        "xml": {
+          "name": "input",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test"
+        }
+      },
+      "duplication-test_first1": {
+        "title": "duplication-test_first",
+        "type": "object",
+        "properties": {},
+        "xml": {
+          "name": "first",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+        }
       }
     },
     "securitySchemes": {