"Controller duplication-test"
]
}
+ },
+ "/rests/operations/duplication-test:test-rpc3": {
+ "post": {
+ "description": "",
+ "summary": "POST - Controller - 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"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "RPC test-rpc3 success"
+ }
+ },
+ "tags": [
+ "Controller duplication-test"
+ ],
+ "parameters": []
+ }
}
},
"components": {
"name": "input",
"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": {
+ "input-leaf1": {
+ "description": "",
+ "type": "string",
+ "example": "Some input-leaf1"
+ }
+ },
+ "xml": {
+ "name": "first",
+ "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+ }
}
},
"securitySchemes": {
],
"parameters": []
}
+ },
+ "/rests/operations/duplication-test:test-rpc3": {
+ "post": {
+ "description": "",
+ "summary": "POST - Controller - 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"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "RPC test-rpc3 success"
+ }
+ },
+ "tags": [
+ "Controller duplication-test"
+ ],
+ "parameters": []
+ }
}
},
"components": {
"name": "input",
"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": {
+ "input-leaf1": {
+ "description": "",
+ "type": "string",
+ "example": "Some input-leaf1"
+ }
+ },
+ "xml": {
+ "name": "first",
+ "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+ }
}
},
"securitySchemes": {
"123 duplication-test"
]
}
+ },
+ "/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"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "RPC test-rpc3 success"
+ }
+ },
+ "tags": [
+ "123 duplication-test"
+ ],
+ "parameters": []
+ }
}
},
"components": {
"name": "input",
"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": {
+ "input-leaf1": {
+ "description": "",
+ "type": "string",
+ "example": "Some input-leaf1"
+ }
+ },
+ "xml": {
+ "name": "first",
+ "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+ }
}
},
"securitySchemes": {
],
"parameters": []
}
+ },
+ "/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"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "RPC test-rpc3 success"
+ }
+ },
+ "tags": [
+ "123 duplication-test"
+ ],
+ "parameters": []
+ }
}
},
"components": {
"name": "input",
"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": {
+ "input-leaf1": {
+ "description": "",
+ "type": "string",
+ "example": "Some input-leaf1"
+ }
+ },
+ "xml": {
+ "name": "first",
+ "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service"
+ }
}
},
"securitySchemes": {
uses test-grouping;
}
+ grouping test-grouping3 {
+ uses test-grouping;
+ }
+
augment "/dt:test-rpc/dt:input" {
uses test-grouping2;
}
augment "/dt:test-rpc2/dt:input" {
uses test-grouping;
}
+
+ augment "/dt:test-rpc3/dt:input" {
+ uses test-grouping3;
+ }
+
+ augment "/dt:test-rpc3/dt:input/test-choice/first/first" {
+ leaf input-leaf1 {
+ type string;
+ }
+ }
}
}
}
}
+
+ rpc test-rpc3 {
+ input {
+ leaf input-leaf {
+ type string;
+ }
+ }
+ }
}