OpenAPI: Improve anydata example
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / device-all.json
index 9fa4f441550b662fb9409f9ab8340ae261a68181..091629188044bf864d421ff463d3db8cd5bcfd26 100644 (file)
         "summary": "PATCH - string-types - 123 - test"
       }
     },
+    "/rests/data/nodes/node=123/yang-ext:mount/strings-examples-length:test": {
+      "put": {
+        "description": "",
+        "summary": "PUT - strings-examples-length - 123 - test",
+        "requestBody": {
+          "description": "test",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "strings-examples-length:test": {
+                    "$ref": "#/components/schemas/strings-examples-length_test",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/strings-examples-length_test"
+              }
+            }
+          }
+        },
+        "responses": {
+          "201": {
+            "description": "Created"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "tags": [
+          "123 strings-examples-length"
+        ],
+        "parameters": []
+      },
+      "patch": {
+        "description": "",
+        "summary": "PATCH - strings-examples-length - 123 - test",
+        "requestBody": {
+          "description": "test",
+          "content": {
+            "application/yang-data+json": {
+              "schema": {
+                "properties": {
+                  "strings-examples-length:test": {
+                    "$ref": "#/components/schemas/strings-examples-length_test",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/yang-data+xml": {
+              "schema": {
+                "$ref": "#/components/schemas/strings-examples-length_test"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "OK"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "tags": [
+          "123 strings-examples-length"
+        ],
+        "parameters": []
+      },
+      "delete": {
+        "description": "",
+        "summary": "DELETE - 123 - strings-examples-length - test",
+        "responses": {
+          "204": {
+            "description": "Deleted"
+          }
+        },
+        "tags": [
+          "123 strings-examples-length"
+        ],
+        "parameters": []
+      },
+      "get": {
+        "description": "",
+        "summary": "GET - 123 - strings-examples-length - test",
+        "responses": {
+          "200": {
+            "description": "200",
+            "content": {
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/strings-examples-length_test"
+                }
+              },
+              "application/json": {
+                "schema": {
+                  "properties": {
+                    "test": {
+                      "$ref": "#/components/schemas/strings-examples-length_test",
+                      "type": "object"
+                    }
+                  }
+                }
+              }
+            }
+          }
+        },
+        "tags": [
+          "123 strings-examples-length"
+        ],
+        "parameters": [
+          {
+            "name": "content",
+            "in": "query",
+            "required": false,
+            "schema": {
+              "enum": [
+                "config",
+                "nonconfig",
+                "all"
+              ],
+              "type": "string"
+            }
+          }
+        ]
+      }
+    },
     "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-unique": {
       "get": {
         "tags": [
           "123 duplication-test"
         ]
       }
-    }
-  },
-  "components": {
-    "schemas": {
-      "toaster2_lst_cont1": {
-        "properties": {
-          "cont11": {
-            "$ref": "#/components/schemas/toaster2_lst_cont1_cont11"
-          },
-          "lst11": {
-            "description": "",
-            "type": "array",
-            "items": {
-              "$ref": "#/components/schemas/toaster2_lst_cont1_lst11"
+    },
+    "/rests/operations/nodes/node=123/yang-ext:mount/duplication-test:test-rpc3": {
+      "post": {
+        "description": "",
+        "summary": "POST - 123 - duplication-test - test-rpc3",
+        "requestBody": {
+          "description": "test-rpc3_input",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "input": {
+                    "$ref": "#/components/schemas/duplication-test_test-rpc3_input",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/duplication-test_test-rpc3_input"
+              }
             }
           }
         },
-        "xml": {
-          "name": "cont1",
-          "namespace": "http://netconfcentral.org/ns/toaster2"
-        },
-        "title": "toaster2_lst_cont1",
-        "type": "object"
-      },
-      "toaster2_make-toast_input": {
-        "properties": {
-          "toasterToastType": {
-            "default": "wheat-bread",
-            "enum": [
-              "toast-type",
-              "wonder-bread",
-              "frozen-bagel",
-              "wheat-bread",
-              "white-bread",
-              "hash-brown",
-              "frozen-waffle"
-            ],
-            "description": "This variable informs the toaster of the type of\n      material that is being toasted. The toaster\n      uses this information, combined with\n      toasterDoneness, to compute for how\n      long the material must be toasted to achieve\n      the required doneness.",
-            "type": "string",
-            "example": "toast-type"
-          },
-          "toasterDoneness": {
-            "default": 5,
-            "description": "This variable controls how well-done is the\n      ensuing toast. It should be on a scale of 1 to 10.\n      Toast made at 10 generally is considered unfit\n      for human consumption; toast made at 1 is warmed\n      lightly.",
-            "type": "integer",
-            "example": 1,
-            "format": "int64"
+        "responses": {
+          "204": {
+            "description": "RPC test-rpc3 success"
           }
         },
-        "xml": {
-          "name": "input",
-          "namespace": "http://netconfcentral.org/ns/toaster2"
-        },
-        "title": "toaster2_make-toast_input",
-        "type": "object"
-      },
-      "typed-params_typed_boolean": {
-        "properties": {
-          "boolean-key": {
-            "description": "",
-            "type": "boolean",
-            "example": true
-          },
-          "value": {
-            "description": "",
-            "type": "string",
-            "example": "Some value"
+        "tags": [
+          "123 duplication-test"
+        ],
+        "parameters": []
+      }
+    },
+    "/rests/data/nodes/node=123/yang-ext:mount/action-types:nc-list={nc-name}": {
+      "put": {
+        "description": "",
+        "summary": "PUT - action-types - 123 - nc-list",
+        "requestBody": {
+          "description": "nc-list",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "action-types:nc-list": {
+                    "type": "array",
+                    "items": {
+                      "$ref": "#/components/schemas/action-types_nc-list",
+                      "type": "object"
+                    }
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-list"
+              }
+            }
           }
         },
-        "xml": {
-          "name": "boolean",
-          "namespace": "urn:typed-params"
-        },
-        "title": "typed-params_typed_boolean",
-        "type": "object"
-      },
-      "typed-params_typed_instance-identifier": {
-        "properties": {
-          "instance-identifier-key": {
-            "description": "",
-            "type": "string",
-            "example": "/tparams:typed"
+        "responses": {
+          "201": {
+            "description": "Created"
           },
-          "value": {
-            "description": "",
-            "type": "string",
-            "example": "Some value"
+          "204": {
+            "description": "Updated"
           }
         },
-        "xml": {
-          "name": "instance-identifier",
-          "namespace": "urn:typed-params"
-        },
-        "title": "typed-params_typed_instance-identifier",
-        "type": "object"
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "nc-name",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ]
+      },
+      "patch": {
+        "description": "",
+        "summary": "PATCH - action-types - 123 - nc-list",
+        "requestBody": {
+          "description": "nc-list",
+          "content": {
+            "application/yang-data+json": {
+              "schema": {
+                "properties": {
+                  "action-types:nc-list": {
+                    "type": "array",
+                    "items": {
+                      "$ref": "#/components/schemas/action-types_nc-list",
+                      "type": "object"
+                    }
+                  }
+                }
+              }
+            },
+            "application/yang-data+xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-list"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "OK"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "nc-name",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ]
+      },
+      "delete": {
+        "description": "",
+        "summary": "DELETE - 123 - action-types - nc-list",
+        "responses": {
+          "204": {
+            "description": "Deleted"
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "nc-name",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ]
+      },
+      "get": {
+        "description": "",
+        "summary": "GET - 123 - action-types - nc-list",
+        "responses": {
+          "200": {
+            "description": "200",
+            "content": {
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-list"
+                }
+              },
+              "application/json": {
+                "schema": {
+                  "properties": {
+                    "nc-list": {
+                      "type": "array",
+                      "items": {
+                        "$ref": "#/components/schemas/action-types_nc-list",
+                        "type": "object"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "nc-name",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          },
+          {
+            "name": "content",
+            "in": "query",
+            "required": false,
+            "schema": {
+              "enum": [
+                "config",
+                "nonconfig",
+                "all"
+              ],
+              "type": "string"
+            }
+          }
+        ]
+      }
+    },
+    "/rests/operations/nodes/node=123/yang-ext:mount/action-types:nc-list={nc-name}/nc-list-action": {
+      "post": {
+        "description": "",
+        "summary": "POST - 123 - action-types - nc-list-action",
+        "requestBody": {
+          "description": "nc-list-action_input",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "input": {
+                    "$ref": "#/components/schemas/action-types_nc-list_nc-list-action_input",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-list_nc-list-action_input"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "RPC nc-list-action success",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-list_nc-list-action_output"
+                }
+              },
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-list_nc-list-action_output"
+                }
+              }
+            }
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "nc-name",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ]
+      }
+    },
+    "/rests/data/nodes/node=123/yang-ext:mount/action-types:nc-container": {
+      "put": {
+        "description": "",
+        "summary": "PUT - action-types - 123 - nc-container",
+        "requestBody": {
+          "description": "nc-container",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "action-types:nc-container": {
+                    "$ref": "#/components/schemas/action-types_nc-container",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-container"
+              }
+            }
+          }
+        },
+        "responses": {
+          "201": {
+            "description": "Created"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": []
+      },
+      "patch": {
+        "description": "",
+        "summary": "PATCH - action-types - 123 - nc-container",
+        "requestBody": {
+          "description": "nc-container",
+          "content": {
+            "application/yang-data+json": {
+              "schema": {
+                "properties": {
+                  "action-types:nc-container": {
+                    "$ref": "#/components/schemas/action-types_nc-container",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/yang-data+xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-container"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "OK"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": []
+      },
+      "delete": {
+        "description": "",
+        "summary": "DELETE - 123 - action-types - nc-container",
+        "responses": {
+          "204": {
+            "description": "Deleted"
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": []
+      },
+      "get": {
+        "description": "",
+        "summary": "GET - 123 - action-types - nc-container",
+        "responses": {
+          "200": {
+            "description": "200",
+            "content": {
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-container"
+                }
+              },
+              "application/json": {
+                "schema": {
+                  "properties": {
+                    "nc-container": {
+                      "$ref": "#/components/schemas/action-types_nc-container",
+                      "type": "object"
+                    }
+                  }
+                }
+              }
+            }
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": [
+          {
+            "name": "content",
+            "in": "query",
+            "required": false,
+            "schema": {
+              "enum": [
+                "config",
+                "nonconfig",
+                "all"
+              ],
+              "type": "string"
+            }
+          }
+        ]
+      }
+    },
+    "/rests/operations/nodes/node=123/yang-ext:mount/action-types:nc-container/nc-container-action": {
+      "post": {
+        "description": "",
+        "summary": "POST - 123 - action-types - nc-container-action",
+        "requestBody": {
+          "description": "nc-container-action_input",
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "input": {
+                    "$ref": "#/components/schemas/action-types_nc-container_nc-container-action_input",
+                    "type": "object"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/action-types_nc-container_nc-container-action_input"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "RPC nc-container-action success",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-container_nc-container-action_output"
+                }
+              },
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/action-types_nc-container_nc-container-action_output"
+                }
+              }
+            }
+          }
+        },
+        "tags": [
+          "123 action-types"
+        ],
+        "parameters": []
+      }
+    },
+    "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/anydata={key}": {
+      "delete": {
+        "description": "",
+        "parameters": [
+          {
+            "name": "key",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ],
+        "responses": {
+          "204": {
+            "description": "Deleted"
+          }
+        },
+        "summary": "DELETE - 123 - typed-params - anydata",
+        "tags": [
+          "123 typed-params"
+        ]
+      },
+      "get": {
+        "description": "",
+        "parameters": [
+          {
+            "name": "key",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          },
+          {
+            "name": "content",
+            "in": "query",
+            "required": false,
+            "schema": {
+              "enum": [
+                "config",
+                "nonconfig",
+                "all"
+              ],
+              "type": "string"
+            }
+          }
+        ],
+        "responses": {
+          "200": {
+            "content": {
+              "application/json": {
+                "schema": {
+                  "properties": {
+                    "anydata": {
+                      "items": {
+                        "$ref": "#/components/schemas/typed-params_typed_anydata",
+                        "type": "object"
+                      },
+                      "type": "array"
+                    }
+                  }
+                }
+              },
+              "application/xml": {
+                "schema": {
+                  "$ref": "#/components/schemas/typed-params_typed_anydata"
+                }
+              }
+            },
+            "description": "200"
+          }
+        },
+        "summary": "GET - 123 - typed-params - anydata",
+        "tags": [
+          "123 typed-params"
+        ]
+      },
+      "patch": {
+        "description": "",
+        "parameters": [
+          {
+            "name": "key",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ],
+        "requestBody": {
+          "content": {
+            "application/yang-data+json": {
+              "schema": {
+                "properties": {
+                  "typed-params:anydata": {
+                    "items": {
+                      "$ref": "#/components/schemas/typed-params_typed_anydata",
+                      "type": "object"
+                    },
+                    "type": "array"
+                  }
+                }
+              }
+            },
+            "application/yang-data+xml": {
+              "schema": {
+                "$ref": "#/components/schemas/typed-params_typed_anydata"
+              }
+            }
+          },
+          "description": "anydata"
+        },
+        "responses": {
+          "200": {
+            "description": "OK"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "summary": "PATCH - typed-params - 123 - anydata",
+        "tags": [
+          "123 typed-params"
+        ]
+      },
+      "put": {
+        "description": "",
+        "parameters": [
+          {
+            "name": "key",
+            "in": "path",
+            "required": true,
+            "schema": {
+              "type": "string"
+            }
+          }
+        ],
+        "requestBody": {
+          "content": {
+            "application/json": {
+              "schema": {
+                "properties": {
+                  "typed-params:anydata": {
+                    "items": {
+                      "$ref": "#/components/schemas/typed-params_typed_anydata",
+                      "type": "object"
+                    },
+                    "type": "array"
+                  }
+                }
+              }
+            },
+            "application/xml": {
+              "schema": {
+                "$ref": "#/components/schemas/typed-params_typed_anydata"
+              }
+            }
+          },
+          "description": "anydata"
+        },
+        "responses": {
+          "201": {
+            "description": "Created"
+          },
+          "204": {
+            "description": "Updated"
+          }
+        },
+        "summary": "PUT - typed-params - 123 - anydata",
+        "tags": [
+          "123 typed-params"
+        ]
+      }
+    }
+  },
+  "components": {
+    "schemas": {
+      "toaster2_lst_cont1": {
+        "properties": {
+          "cont11": {
+            "$ref": "#/components/schemas/toaster2_lst_cont1_cont11"
+          },
+          "lst11": {
+            "description": "",
+            "type": "array",
+            "items": {
+              "$ref": "#/components/schemas/toaster2_lst_cont1_lst11"
+            }
+          }
+        },
+        "xml": {
+          "name": "cont1",
+          "namespace": "http://netconfcentral.org/ns/toaster2"
+        },
+        "title": "toaster2_lst_cont1",
+        "type": "object"
+      },
+      "toaster2_make-toast_input": {
+        "properties": {
+          "toasterToastType": {
+            "default": "wheat-bread",
+            "enum": [
+              "toast-type",
+              "wonder-bread",
+              "frozen-bagel",
+              "wheat-bread",
+              "white-bread",
+              "hash-brown",
+              "frozen-waffle"
+            ],
+            "description": "This variable informs the toaster of the type of\n      material that is being toasted. The toaster\n      uses this information, combined with\n      toasterDoneness, to compute for how\n      long the material must be toasted to achieve\n      the required doneness.",
+            "type": "string",
+            "example": "toast-type"
+          },
+          "toasterDoneness": {
+            "default": 5,
+            "description": "This variable controls how well-done is the\n      ensuing toast. It should be on a scale of 1 to 10.\n      Toast made at 10 generally is considered unfit\n      for human consumption; toast made at 1 is warmed\n      lightly.",
+            "type": "integer",
+            "example": 1,
+            "format": "int64"
+          }
+        },
+        "xml": {
+          "name": "input",
+          "namespace": "http://netconfcentral.org/ns/toaster2"
+        },
+        "title": "toaster2_make-toast_input",
+        "type": "object"
+      },
+      "typed-params_typed_boolean": {
+        "properties": {
+          "boolean-key": {
+            "description": "",
+            "type": "boolean",
+            "example": true
+          },
+          "value": {
+            "description": "",
+            "type": "string",
+            "example": "Some value"
+          }
+        },
+        "xml": {
+          "name": "boolean",
+          "namespace": "urn:typed-params"
+        },
+        "title": "typed-params_typed_boolean",
+        "type": "object"
+      },
+      "typed-params_typed_instance-identifier": {
+        "properties": {
+          "instance-identifier-key": {
+            "description": "",
+            "type": "string",
+            "example": "/tparams:typed"
+          },
+          "value": {
+            "description": "",
+            "type": "string",
+            "example": "Some value"
+          }
+        },
+        "xml": {
+          "name": "instance-identifier",
+          "namespace": "urn:typed-params"
+        },
+        "title": "typed-params_typed_instance-identifier",
+        "type": "object"
       },
       "test-container-childs_root-container": {
         "properties": {
             "items": {
               "$ref": "#/components/schemas/typed-params_typed_bits"
             }
+          },
+          "anydata": {
+            "description": "",
+            "items": {
+              "$ref": "#/components/schemas/typed-params_typed_anydata"
+            },
+            "type": "array"
           }
         },
         "xml": {
           "mac-address": {
             "description": "",
             "type": "string",
-            "example": "00:",
-            "minLength": 6,
-            "maxLength": 6
+            "example": "00:00:00:00:00:00",
+            "minLength": 0,
+            "maxLength": 2147483647
           },
           "braille-patterns": {
             "description": "",
         "title": "string-types_test",
         "type": "object"
       },
+      "strings-examples-length_test": {
+        "title": "strings-examples-length_test",
+        "type": "object",
+        "properties": {
+          "my-phys-address": {
+            "description": "",
+            "type": "string",
+            "example": "00:00",
+            "minLength": 5,
+            "maxLength": 5
+          },
+          "my-mac-address": {
+            "description": "",
+            "type": "string",
+            "example": "00:00:00:00:",
+            "minLength": 12,
+            "maxLength": 18
+          },
+          "my-string": {
+            "description": "",
+            "type": "string",
+            "example": "00000",
+            "minLength": 5,
+            "maxLength": 10
+          }
+        },
+        "xml": {
+          "name": "test",
+          "namespace": "urn:ietf:params:xml:ns:yang:strings:examples"
+        }
+      },
       "toaster_make-toast_input": {
         "properties": {
           "toasterToastType": {
       "duplication-test_test-rpc2_input": {
         "properties": {
           "first": {
-            "$ref": "#/components/schemas/duplication-test_first1"
+            "$ref": "#/components/schemas/duplication-test_first"
           },
           "input-leaf": {
             "description": "",
       "duplication-test_test-rpc_input": {
         "properties": {
           "first": {
-            "$ref": "#/components/schemas/duplication-test_first1"
+            "$ref": "#/components/schemas/duplication-test_first"
           },
           "input-leaf": {
             "description": "",
           "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test"
         }
       },
+      "duplication-test_test-rpc3_input": {
+        "title": "duplication-test_test-rpc3_input",
+        "type": "object",
+        "properties": {
+          "input-leaf": {
+            "description": "",
+            "type": "string",
+            "example": "Some input-leaf"
+          },
+          "first": {
+            "$ref": "#/components/schemas/duplication-test_first1"
+          }
+        },
+        "xml": {
+          "name": "input",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test"
+        }
+      },
       "duplication-test_first1": {
         "title": "duplication-test_first",
         "type": "object",
-        "properties": {},
+        "properties": {
+          "input-leaf1": {
+            "description": "",
+            "type": "string",
+            "example": "Some input-leaf1"
+          }
+        },
         "xml": {
           "name": "first",
           "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
         }
+      },
+      "action-types_nc-list": {
+        "title": "action-types_nc-list",
+        "type": "object",
+        "properties": {},
+        "xml": {
+          "name": "nc-list",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "action-types_nc-list_nc-list-action_input": {
+        "title": "action-types_nc-list_nc-list-action_input",
+        "type": "object",
+        "properties": {
+          "nc-la-input": {
+            "description": "",
+            "type": "string",
+            "example": "Some nc-la-input"
+          }
+        },
+        "xml": {
+          "name": "input",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "action-types_nc-list_nc-list-action_output": {
+        "title": "action-types_nc-list_nc-list-action_output",
+        "type": "object",
+        "properties": {
+          "nc-la-output": {
+            "description": "",
+            "type": "string",
+            "example": "Some nc-la-output"
+          }
+        },
+        "xml": {
+          "name": "output",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "action-types_nc-container": {
+        "title": "action-types_nc-container",
+        "type": "object",
+        "properties": {},
+        "xml": {
+          "name": "nc-container",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "action-types_nc-container_nc-container-action_input": {
+        "title": "action-types_nc-container_nc-container-action_input",
+        "type": "object",
+        "properties": {
+          "nc-ca-input": {
+            "description": "",
+            "type": "string",
+            "example": "Some nc-ca-input"
+          }
+        },
+        "xml": {
+          "name": "input",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "action-types_nc-container_nc-container-action_output": {
+        "title": "action-types_nc-container_nc-container-action_output",
+        "type": "object",
+        "properties": {
+          "nc-ca-output": {
+            "description": "",
+            "type": "string",
+            "example": "Some nc-ca-output"
+          }
+        },
+        "xml": {
+          "name": "output",
+          "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
+        }
+      },
+      "typed-params_typed_anydata": {
+        "properties": {
+          "key": {
+            "description": "",
+            "example": "Some key",
+            "type": "string"
+          },
+          "value": {
+            "description": "Anydata value. (This is unknown data, need to be filled by user.)",
+            "example": {},
+            "type": "object"
+          }
+        },
+        "title": "typed-params_typed_anydata",
+        "type": "object",
+        "xml": {
+          "name": "anydata",
+          "namespace": "urn:typed-params"
+        }
       }
     },
     "securitySchemes": {