OpenAPI: Add test for inner action schema
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / device-action-types.json
1 {
2   "openapi": "3.0.3",
3   "info": {
4     "version": "1.0.0",
5     "title": "action-types",
6     "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."
7   },
8   "servers": [
9     {
10       "url": "http://localhost:8181/"
11     }
12   ],
13   "paths": {
14     "/rests/operations/nodes/node=123/yang-ext:mount/action-types:list={name}/list-action": {
15       "post": {
16         "tags": [
17           "123 action-types"
18         ],
19         "parameters": [
20           {
21             "name": "name",
22             "in": "path",
23             "required": true,
24             "schema": {
25               "type": "string"
26             }
27           }
28         ],
29         "requestBody": {
30           "description": "list-action_input",
31           "content": {
32             "application/xml": {
33               "schema": {
34                 "$ref": "#/components/schemas/action-types_list_list-action_input"
35               }
36             },
37             "application/json": {
38               "schema": {
39                 "properties": {
40                   "input": {
41                     "$ref": "#/components/schemas/action-types_list_list-action_input",
42                     "type": "object"
43                   }
44                 }
45               }
46             }
47           }
48         },
49         "responses": {
50           "200": {
51             "description": "RPC list-action success",
52             "content": {
53               "application/xml": {
54                 "schema": {
55                   "$ref": "#/components/schemas/action-types_list_list-action_output"
56                 }
57               },
58               "application/json": {
59                 "schema": {
60                   "$ref": "#/components/schemas/action-types_list_list-action_output"
61                 }
62               }
63             }
64           }
65         },
66         "description": "",
67         "summary": "POST - 123 - action-types - list-action"
68       }
69     },
70     "/rests/operations/nodes/node=123/yang-ext:mount/action-types:container/container-action": {
71       "post": {
72         "tags": [
73           "123 action-types"
74         ],
75         "parameters": [],
76         "requestBody": {
77           "description": "container-action_input",
78           "content": {
79             "application/xml": {
80               "schema": {
81                 "$ref": "#/components/schemas/action-types_container_container-action_input"
82               }
83             },
84             "application/json": {
85               "schema": {
86                 "properties": {
87                   "input": {
88                     "$ref": "#/components/schemas/action-types_container_container-action_input",
89                     "type": "object"
90                   }
91                 }
92               }
93             }
94           }
95         },
96         "responses": {
97           "200": {
98             "description": "RPC container-action success",
99             "content": {
100               "application/xml": {
101                 "schema": {
102                   "$ref": "#/components/schemas/action-types_container_container-action_output"
103                 }
104               },
105               "application/json": {
106                 "schema": {
107                   "$ref": "#/components/schemas/action-types_container_container-action_output"
108                 }
109               }
110             }
111           }
112         },
113         "description": "",
114         "summary": "POST - 123 - action-types - container-action"
115       }
116     },
117     "/rests/data/nodes/node=123/yang-ext:mount/action-types:list={name}": {
118       "get": {
119         "tags": [
120           "123 action-types"
121         ],
122         "parameters": [
123           {
124             "name": "name",
125             "in": "path",
126             "required": true,
127             "schema": {
128               "type": "string"
129             }
130           },
131           {
132             "name": "content",
133             "in": "query",
134             "required": false,
135             "schema": {
136               "enum": [
137                 "config",
138                 "nonconfig",
139                 "all"
140               ],
141               "type": "string"
142             }
143           }
144         ],
145         "responses": {
146           "200": {
147             "description": "200",
148             "content": {
149               "application/xml": {
150                 "schema": {
151                   "$ref": "#/components/schemas/action-types_list"
152                 }
153               },
154               "application/json": {
155                 "schema": {
156                   "properties": {
157                     "list": {
158                       "type": "array",
159                       "items": {
160                         "$ref": "#/components/schemas/action-types_list",
161                         "type": "object"
162                       }
163                     }
164                   }
165                 }
166               }
167             }
168           }
169         },
170         "description": "",
171         "summary": "GET - 123 - action-types - list"
172       },
173       "put": {
174         "tags": [
175           "123 action-types"
176         ],
177         "parameters": [
178           {
179             "name": "name",
180             "in": "path",
181             "required": true,
182             "schema": {
183               "type": "string"
184             }
185           }
186         ],
187         "requestBody": {
188           "description": "list",
189           "content": {
190             "application/xml": {
191               "schema": {
192                 "$ref": "#/components/schemas/action-types_list"
193               }
194             },
195             "application/json": {
196               "schema": {
197                 "properties": {
198                   "action-types:list": {
199                     "type": "array",
200                     "items": {
201                       "$ref": "#/components/schemas/action-types_list",
202                       "type": "object"
203                     }
204                   }
205                 }
206               }
207             }
208           }
209         },
210         "responses": {
211           "204": {
212             "description": "Updated"
213           },
214           "201": {
215             "description": "Created"
216           }
217         },
218         "description": "",
219         "summary": "PUT - action-types - 123 - list"
220       },
221       "delete": {
222         "tags": [
223           "123 action-types"
224         ],
225         "parameters": [
226           {
227             "name": "name",
228             "in": "path",
229             "required": true,
230             "schema": {
231               "type": "string"
232             }
233           }
234         ],
235         "responses": {
236           "204": {
237             "description": "Deleted"
238           }
239         },
240         "description": "",
241         "summary": "DELETE - 123 - action-types - list"
242       },
243       "patch": {
244         "tags": [
245           "123 action-types"
246         ],
247         "parameters": [
248           {
249             "name": "name",
250             "in": "path",
251             "required": true,
252             "schema": {
253               "type": "string"
254             }
255           }
256         ],
257         "requestBody": {
258           "description": "list",
259           "content": {
260             "application/yang-data+json": {
261               "schema": {
262                 "properties": {
263                   "action-types:list": {
264                     "type": "array",
265                     "items": {
266                       "$ref": "#/components/schemas/action-types_list",
267                       "type": "object"
268                     }
269                   }
270                 }
271               }
272             },
273             "application/yang-data+xml": {
274               "schema": {
275                 "$ref": "#/components/schemas/action-types_list"
276               }
277             }
278           }
279         },
280         "responses": {
281           "200": {
282             "description": "OK"
283           },
284           "204": {
285             "description": "Updated"
286           }
287         },
288         "description": "",
289         "summary": "PATCH - action-types - 123 - list"
290       }
291     },
292     "/rests/data/nodes/node=123/yang-ext:mount/action-types:container": {
293       "get": {
294         "tags": [
295           "123 action-types"
296         ],
297         "parameters": [
298           {
299             "name": "content",
300             "in": "query",
301             "required": false,
302             "schema": {
303               "enum": [
304                 "config",
305                 "nonconfig",
306                 "all"
307               ],
308               "type": "string"
309             }
310           }
311         ],
312         "responses": {
313           "200": {
314             "description": "200",
315             "content": {
316               "application/xml": {
317                 "schema": {
318                   "$ref": "#/components/schemas/action-types_container"
319                 }
320               },
321               "application/json": {
322                 "schema": {
323                   "properties": {
324                     "container": {
325                       "$ref": "#/components/schemas/action-types_container",
326                       "type": "object"
327                     }
328                   }
329                 }
330               }
331             }
332           }
333         },
334         "description": "",
335         "summary": "GET - 123 - action-types - container"
336       },
337       "put": {
338         "tags": [
339           "123 action-types"
340         ],
341         "parameters": [],
342         "requestBody": {
343           "description": "container",
344           "content": {
345             "application/xml": {
346               "schema": {
347                 "$ref": "#/components/schemas/action-types_container"
348               }
349             },
350             "application/json": {
351               "schema": {
352                 "properties": {
353                   "action-types:container": {
354                     "$ref": "#/components/schemas/action-types_container",
355                     "type": "object"
356                   }
357                 }
358               }
359             }
360           }
361         },
362         "responses": {
363           "204": {
364             "description": "Updated"
365           },
366           "201": {
367             "description": "Created"
368           }
369         },
370         "description": "",
371         "summary": "PUT - action-types - 123 - container"
372       },
373       "delete": {
374         "tags": [
375           "123 action-types"
376         ],
377         "parameters": [],
378         "responses": {
379           "204": {
380             "description": "Deleted"
381           }
382         },
383         "description": "",
384         "summary": "DELETE - 123 - action-types - container"
385       },
386       "patch": {
387         "tags": [
388           "123 action-types"
389         ],
390         "parameters": [],
391         "requestBody": {
392           "description": "container",
393           "content": {
394             "application/yang-data+json": {
395               "schema": {
396                 "properties": {
397                   "action-types:container": {
398                     "$ref": "#/components/schemas/action-types_container",
399                     "type": "object"
400                   }
401                 }
402               }
403             },
404             "application/yang-data+xml": {
405               "schema": {
406                 "$ref": "#/components/schemas/action-types_container"
407               }
408             }
409           }
410         },
411         "responses": {
412           "200": {
413             "description": "OK"
414           },
415           "204": {
416             "description": "Updated"
417           }
418         },
419         "description": "",
420         "summary": "PATCH - action-types - 123 - container"
421       }
422     },
423     "/rests/data/nodes/node=123/yang-ext:mount/action-types:multi-container": {
424       "get": {
425         "tags": [
426           "123 action-types"
427         ],
428         "parameters": [
429           {
430             "name": "content",
431             "in": "query",
432             "required": false,
433             "schema": {
434               "enum": [
435                 "config",
436                 "nonconfig",
437                 "all"
438               ],
439               "type": "string"
440             }
441           }
442         ],
443         "responses": {
444           "200": {
445             "description": "200",
446             "content": {
447               "application/xml": {
448                 "schema": {
449                   "$ref": "#/components/schemas/action-types_multi-container"
450                 }
451               },
452               "application/json": {
453                 "schema": {
454                   "properties": {
455                     "multi-container": {
456                       "$ref": "#/components/schemas/action-types_multi-container",
457                       "type": "object"
458                     }
459                   }
460                 }
461               }
462             }
463           }
464         },
465         "description": "",
466         "summary": "GET - 123 - action-types - multi-container"
467       },
468       "put": {
469         "tags": [
470           "123 action-types"
471         ],
472         "parameters": [],
473         "requestBody": {
474           "description": "multi-container",
475           "content": {
476             "application/xml": {
477               "schema": {
478                 "$ref": "#/components/schemas/action-types_multi-container"
479               }
480             },
481             "application/json": {
482               "schema": {
483                 "properties": {
484                   "action-types:multi-container": {
485                     "$ref": "#/components/schemas/action-types_multi-container",
486                     "type": "object"
487                   }
488                 }
489               }
490             }
491           }
492         },
493         "responses": {
494           "204": {
495             "description": "Updated"
496           },
497           "201": {
498             "description": "Created"
499           }
500         },
501         "description": "",
502         "summary": "PUT - action-types - 123 - multi-container"
503       },
504       "post": {
505         "tags": [
506           "123 action-types"
507         ],
508         "parameters": [],
509         "requestBody": {
510           "description": "inner-container",
511           "content": {
512             "application/xml": {
513               "schema": {
514                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
515               }
516             },
517             "application/json": {
518               "schema": {
519                 "properties": {
520                   "inner-container": {
521                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
522                     "type": "object"
523                   }
524                 }
525               }
526             }
527           }
528         },
529         "responses": {
530           "201": {
531             "description": "Created"
532           }
533         },
534         "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
535         "summary": "POST - 123 - action-types - multi-container"
536       },
537       "delete": {
538         "tags": [
539           "123 action-types"
540         ],
541         "parameters": [],
542         "responses": {
543           "204": {
544             "description": "Deleted"
545           }
546         },
547         "description": "",
548         "summary": "DELETE - 123 - action-types - multi-container"
549       },
550       "patch": {
551         "tags": [
552           "123 action-types"
553         ],
554         "parameters": [],
555         "requestBody": {
556           "description": "multi-container",
557           "content": {
558             "application/yang-data+json": {
559               "schema": {
560                 "properties": {
561                   "action-types:multi-container": {
562                     "$ref": "#/components/schemas/action-types_multi-container",
563                     "type": "object"
564                   }
565                 }
566               }
567             },
568             "application/yang-data+xml": {
569               "schema": {
570                 "$ref": "#/components/schemas/action-types_multi-container"
571               }
572             }
573           }
574         },
575         "responses": {
576           "200": {
577             "description": "OK"
578           },
579           "204": {
580             "description": "Updated"
581           }
582         },
583         "description": "",
584         "summary": "PATCH - action-types - 123 - multi-container"
585       }
586     },
587     "/rests/operations/nodes/node=123/yang-ext:mount/action-types:multi-container/inner-container/action": {
588       "post": {
589         "tags": [
590           "123 action-types"
591         ],
592         "parameters": [],
593         "requestBody": {
594           "description": "action_input",
595           "content": {
596             "application/xml": {
597               "schema": {
598                 "xml": {
599                   "name": "input",
600                   "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
601                 },
602                 "type": "object"
603               }
604             },
605             "application/json": {
606               "schema": {
607                 "properties": {
608                   "input": {
609                     "type": "object"
610                   }
611                 },
612                 "type": "object"
613               }
614             }
615           }
616         },
617         "responses": {
618           "204": {
619             "description": "RPC action success"
620           }
621         },
622         "description": "",
623         "summary": "POST - 123 - action-types - action"
624       }
625     },
626     "/rests/data/nodes/node=123/yang-ext:mount": {
627       "post": {
628         "tags": [
629           "123 action-types"
630         ],
631         "parameters": [],
632         "requestBody": {
633           "description": "list",
634           "content": {
635             "application/xml": {
636               "schema": {
637                 "$ref": "#/components/schemas/action-types_list"
638               }
639             },
640             "application/json": {
641               "schema": {
642                 "properties": {
643                   "list": {
644                     "type": "array",
645                     "items": {
646                       "$ref": "#/components/schemas/action-types_list",
647                       "type": "object"
648                     }
649                   }
650                 }
651               }
652             }
653           }
654         },
655         "responses": {
656           "201": {
657             "description": "Created"
658           }
659         },
660         "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
661         "summary": "POST - 123 - action-types - action-types"
662       }
663     },
664     "/rests/data/nodes/node=123/yang-ext:mount/action-types:multi-container/inner-container": {
665       "get": {
666         "tags": [
667           "123 action-types"
668         ],
669         "parameters": [
670           {
671             "name": "content",
672             "in": "query",
673             "required": false,
674             "schema": {
675               "enum": [
676                 "config",
677                 "nonconfig",
678                 "all"
679               ],
680               "type": "string"
681             }
682           }
683         ],
684         "responses": {
685           "200": {
686             "description": "200",
687             "content": {
688               "application/xml": {
689                 "schema": {
690                   "$ref": "#/components/schemas/action-types_multi-container_inner-container"
691                 }
692               },
693               "application/json": {
694                 "schema": {
695                   "properties": {
696                     "inner-container": {
697                       "$ref": "#/components/schemas/action-types_multi-container_inner-container",
698                       "type": "object"
699                     }
700                   }
701                 }
702               }
703             }
704           }
705         },
706         "description": "",
707         "summary": "GET - 123 - action-types - inner-container"
708       },
709       "put": {
710         "tags": [
711           "123 action-types"
712         ],
713         "parameters": [],
714         "requestBody": {
715           "description": "inner-container",
716           "content": {
717             "application/xml": {
718               "schema": {
719                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
720               }
721             },
722             "application/json": {
723               "schema": {
724                 "properties": {
725                   "action-types:inner-container": {
726                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
727                     "type": "object"
728                   }
729                 }
730               }
731             }
732           }
733         },
734         "responses": {
735           "204": {
736             "description": "Updated"
737           },
738           "201": {
739             "description": "Created"
740           }
741         },
742         "description": "",
743         "summary": "PUT - action-types - 123 - inner-container"
744       },
745       "delete": {
746         "tags": [
747           "123 action-types"
748         ],
749         "parameters": [],
750         "responses": {
751           "204": {
752             "description": "Deleted"
753           }
754         },
755         "description": "",
756         "summary": "DELETE - 123 - action-types - inner-container"
757       },
758       "patch": {
759         "tags": [
760           "123 action-types"
761         ],
762         "parameters": [],
763         "requestBody": {
764           "description": "inner-container",
765           "content": {
766             "application/yang-data+json": {
767               "schema": {
768                 "properties": {
769                   "action-types:inner-container": {
770                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
771                     "type": "object"
772                   }
773                 }
774               }
775             },
776             "application/yang-data+xml": {
777               "schema": {
778                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
779               }
780             }
781           }
782         },
783         "responses": {
784           "200": {
785             "description": "OK"
786           },
787           "204": {
788             "description": "Updated"
789           }
790         },
791         "description": "",
792         "summary": "PATCH - action-types - 123 - inner-container"
793       }
794     },
795     "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container": {
796       "delete": {
797         "description": "",
798         "parameters": [],
799         "responses": {
800           "204": {
801             "description": "Deleted"
802           }
803         },
804         "summary": "DELETE - 123 - action-types - first-container",
805         "tags": [
806           "123 action-types"
807         ]
808       },
809       "get": {
810         "description": "",
811         "parameters": [
812           {
813             "name": "content",
814             "in": "query",
815             "required": false,
816             "schema": {
817               "enum": [
818                 "config",
819                 "nonconfig",
820                 "all"
821               ],
822               "type": "string"
823             }
824           }
825         ],
826         "responses": {
827           "200": {
828             "content": {
829               "application/json": {
830                 "schema": {
831                   "properties": {
832                     "first-container": {
833                       "$ref": "#/components/schemas/action-types_first-container",
834                       "type": "object"
835                     }
836                   }
837                 }
838               },
839               "application/xml": {
840                 "schema": {
841                   "$ref": "#/components/schemas/action-types_first-container"
842                 }
843               }
844             },
845             "description": "200"
846           }
847         },
848         "summary": "GET - 123 - action-types - first-container",
849         "tags": [
850           "123 action-types"
851         ]
852       },
853       "patch": {
854         "description": "",
855         "parameters": [],
856         "requestBody": {
857           "content": {
858             "application/yang-data+json": {
859               "schema": {
860                 "properties": {
861                   "action-types:first-container": {
862                     "$ref": "#/components/schemas/action-types_first-container",
863                     "type": "object"
864                   }
865                 }
866               }
867             },
868             "application/yang-data+xml": {
869               "schema": {
870                 "$ref": "#/components/schemas/action-types_first-container"
871               }
872             }
873           },
874           "description": "first-container"
875         },
876         "responses": {
877           "200": {
878             "description": "OK"
879           },
880           "204": {
881             "description": "Updated"
882           }
883         },
884         "summary": "PATCH - action-types - 123 - first-container",
885         "tags": [
886           "123 action-types"
887         ]
888       },
889       "post": {
890         "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
891         "parameters": [],
892         "requestBody": {
893           "content": {
894             "application/json": {
895               "schema": {
896                 "properties": {
897                   "second-container": {
898                     "$ref": "#/components/schemas/action-types_first-container_second-container",
899                     "type": "object"
900                   }
901                 }
902               }
903             },
904             "application/xml": {
905               "schema": {
906                 "$ref": "#/components/schemas/action-types_first-container_second-container"
907               }
908             }
909           },
910           "description": "second-container"
911         },
912         "responses": {
913           "201": {
914             "description": "Created"
915           }
916         },
917         "summary": "POST - 123 - action-types - first-container",
918         "tags": [
919           "123 action-types"
920         ]
921       },
922       "put": {
923         "description": "",
924         "parameters": [],
925         "requestBody": {
926           "content": {
927             "application/json": {
928               "schema": {
929                 "properties": {
930                   "action-types:first-container": {
931                     "$ref": "#/components/schemas/action-types_first-container",
932                     "type": "object"
933                   }
934                 }
935               }
936             },
937             "application/xml": {
938               "schema": {
939                 "$ref": "#/components/schemas/action-types_first-container"
940               }
941             }
942           },
943           "description": "first-container"
944         },
945         "responses": {
946           "201": {
947             "description": "Created"
948           },
949           "204": {
950             "description": "Updated"
951           }
952         },
953         "summary": "PUT - action-types - 123 - first-container",
954         "tags": [
955           "123 action-types"
956         ]
957       }
958     },
959     "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container/second-container": {
960       "delete": {
961         "description": "",
962         "parameters": [],
963         "responses": {
964           "204": {
965             "description": "Deleted"
966           }
967         },
968         "summary": "DELETE - 123 - action-types - second-container",
969         "tags": [
970           "123 action-types"
971         ]
972       },
973       "get": {
974         "description": "",
975         "parameters": [
976           {
977             "name": "content",
978             "in": "query",
979             "required": false,
980             "schema": {
981               "enum": [
982                 "config",
983                 "nonconfig",
984                 "all"
985               ],
986               "type": "string"
987             }
988           }
989         ],
990         "responses": {
991           "200": {
992             "content": {
993               "application/json": {
994                 "schema": {
995                   "properties": {
996                     "second-container": {
997                       "$ref": "#/components/schemas/action-types_first-container_second-container",
998                       "type": "object"
999                     }
1000                   }
1001                 }
1002               },
1003               "application/xml": {
1004                 "schema": {
1005                   "$ref": "#/components/schemas/action-types_first-container_second-container"
1006                 }
1007               }
1008             },
1009             "description": "200"
1010           }
1011         },
1012         "summary": "GET - 123 - action-types - second-container",
1013         "tags": [
1014           "123 action-types"
1015         ]
1016       },
1017       "patch": {
1018         "description": "",
1019         "parameters": [],
1020         "requestBody": {
1021           "content": {
1022             "application/yang-data+json": {
1023               "schema": {
1024                 "properties": {
1025                   "action-types:second-container": {
1026                     "$ref": "#/components/schemas/action-types_first-container_second-container",
1027                     "type": "object"
1028                   }
1029                 }
1030               }
1031             },
1032             "application/yang-data+xml": {
1033               "schema": {
1034                 "$ref": "#/components/schemas/action-types_first-container_second-container"
1035               }
1036             }
1037           },
1038           "description": "second-container"
1039         },
1040         "responses": {
1041           "200": {
1042             "description": "OK"
1043           },
1044           "204": {
1045             "description": "Updated"
1046           }
1047         },
1048         "summary": "PATCH - action-types - 123 - second-container",
1049         "tags": [
1050           "123 action-types"
1051         ]
1052       },
1053       "post": {
1054         "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
1055         "parameters": [],
1056         "requestBody": {
1057           "content": {
1058             "application/json": {
1059               "schema": {
1060                 "properties": {
1061                   "third-container": {
1062                     "$ref": "#/components/schemas/action-types_first-container_second-container_third-container",
1063                     "type": "object"
1064                   }
1065                 }
1066               }
1067             },
1068             "application/xml": {
1069               "schema": {
1070                 "$ref": "#/components/schemas/action-types_first-container_second-container_third-container"
1071               }
1072             }
1073           },
1074           "description": "third-container"
1075         },
1076         "responses": {
1077           "201": {
1078             "description": "Created"
1079           }
1080         },
1081         "summary": "POST - 123 - action-types - second-container",
1082         "tags": [
1083           "123 action-types"
1084         ]
1085       },
1086       "put": {
1087         "description": "",
1088         "parameters": [],
1089         "requestBody": {
1090           "content": {
1091             "application/json": {
1092               "schema": {
1093                 "properties": {
1094                   "action-types:second-container": {
1095                     "$ref": "#/components/schemas/action-types_first-container_second-container",
1096                     "type": "object"
1097                   }
1098                 }
1099               }
1100             },
1101             "application/xml": {
1102               "schema": {
1103                 "$ref": "#/components/schemas/action-types_first-container_second-container"
1104               }
1105             }
1106           },
1107           "description": "second-container"
1108         },
1109         "responses": {
1110           "201": {
1111             "description": "Created"
1112           },
1113           "204": {
1114             "description": "Updated"
1115           }
1116         },
1117         "summary": "PUT - action-types - 123 - second-container",
1118         "tags": [
1119           "123 action-types"
1120         ]
1121       }
1122     },
1123     "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container/second-container/third-container": {
1124       "delete": {
1125         "description": "",
1126         "parameters": [],
1127         "responses": {
1128           "204": {
1129             "description": "Deleted"
1130           }
1131         },
1132         "summary": "DELETE - 123 - action-types - third-container",
1133         "tags": [
1134           "123 action-types"
1135         ]
1136       },
1137       "get": {
1138         "description": "",
1139         "parameters": [
1140           {
1141             "name": "content",
1142             "in": "query",
1143             "required": false,
1144             "schema": {
1145               "enum": [
1146                 "config",
1147                 "nonconfig",
1148                 "all"
1149               ],
1150               "type": "string"
1151             }
1152           }
1153         ],
1154         "responses": {
1155           "200": {
1156             "content": {
1157               "application/json": {
1158                 "schema": {
1159                   "properties": {
1160                     "third-container": {
1161                       "$ref": "#/components/schemas/action-types_first-container_second-container_third-container",
1162                       "type": "object"
1163                     }
1164                   }
1165                 }
1166               },
1167               "application/xml": {
1168                 "schema": {
1169                   "$ref": "#/components/schemas/action-types_first-container_second-container_third-container"
1170                 }
1171               }
1172             },
1173             "description": "200"
1174           }
1175         },
1176         "summary": "GET - 123 - action-types - third-container",
1177         "tags": [
1178           "123 action-types"
1179         ]
1180       },
1181       "patch": {
1182         "description": "",
1183         "parameters": [],
1184         "requestBody": {
1185           "content": {
1186             "application/yang-data+json": {
1187               "schema": {
1188                 "properties": {
1189                   "action-types:third-container": {
1190                     "$ref": "#/components/schemas/action-types_first-container_second-container_third-container",
1191                     "type": "object"
1192                   }
1193                 }
1194               }
1195             },
1196             "application/yang-data+xml": {
1197               "schema": {
1198                 "$ref": "#/components/schemas/action-types_first-container_second-container_third-container"
1199               }
1200             }
1201           },
1202           "description": "third-container"
1203         },
1204         "responses": {
1205           "200": {
1206             "description": "OK"
1207           },
1208           "204": {
1209             "description": "Updated"
1210           }
1211         },
1212         "summary": "PATCH - action-types - 123 - third-container",
1213         "tags": [
1214           "123 action-types"
1215         ]
1216       },
1217       "put": {
1218         "description": "",
1219         "parameters": [],
1220         "requestBody": {
1221           "content": {
1222             "application/json": {
1223               "schema": {
1224                 "properties": {
1225                   "action-types:third-container": {
1226                     "$ref": "#/components/schemas/action-types_first-container_second-container_third-container",
1227                     "type": "object"
1228                   }
1229                 }
1230               }
1231             },
1232             "application/xml": {
1233               "schema": {
1234                 "$ref": "#/components/schemas/action-types_first-container_second-container_third-container"
1235               }
1236             }
1237           },
1238           "description": "third-container"
1239         },
1240         "responses": {
1241           "201": {
1242             "description": "Created"
1243           },
1244           "204": {
1245             "description": "Updated"
1246           }
1247         },
1248         "summary": "PUT - action-types - 123 - third-container",
1249         "tags": [
1250           "123 action-types"
1251         ]
1252       }
1253     },
1254     "/rests/operations/nodes/node=123/yang-ext:mount/action-types:first-container/second-container/third-container/nested-action": {
1255       "post": {
1256         "description": "",
1257         "parameters": [],
1258         "requestBody": {
1259           "content": {
1260             "application/json": {
1261               "schema": {
1262                 "properties": {
1263                   "input": {
1264                     "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_input",
1265                     "type": "object"
1266                   }
1267                 }
1268               }
1269             },
1270             "application/xml": {
1271               "schema": {
1272                 "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_input"
1273               }
1274             }
1275           },
1276           "description": "nested-action_input"
1277         },
1278         "responses": {
1279           "200": {
1280             "content": {
1281               "application/json": {
1282                 "schema": {
1283                   "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_output"
1284                 }
1285               },
1286               "application/xml": {
1287                 "schema": {
1288                   "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_output"
1289                 }
1290               }
1291             },
1292             "description": "RPC nested-action success"
1293           }
1294         },
1295         "summary": "POST - 123 - action-types - nested-action",
1296         "tags": [
1297           "123 action-types"
1298         ]
1299       }
1300     }
1301   },
1302   "components": {
1303     "schemas": {
1304       "action-types_list_list-action_input": {
1305         "required": [
1306           "la-input"
1307         ],
1308         "properties": {
1309           "la-input": {
1310             "description": "",
1311             "type": "string",
1312             "example": "Some la-input"
1313           }
1314         },
1315         "xml": {
1316           "name": "input",
1317           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1318         },
1319         "title": "action-types_list_list-action_input",
1320         "type": "object"
1321       },
1322       "action-types_container": {
1323         "properties": {},
1324         "xml": {
1325           "name": "container",
1326           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1327         },
1328         "title": "action-types_container",
1329         "type": "object"
1330       },
1331       "action-types_multi-container": {
1332         "properties": {
1333           "inner-container": {
1334             "$ref": "#/components/schemas/action-types_multi-container_inner-container"
1335           }
1336         },
1337         "xml": {
1338           "name": "multi-container",
1339           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1340         },
1341         "title": "action-types_multi-container",
1342         "type": "object"
1343       },
1344       "action-types_list_list-action_output": {
1345         "required": [
1346           "la-output"
1347         ],
1348         "properties": {
1349           "la-output": {
1350             "description": "",
1351             "type": "string",
1352             "example": "Some la-output"
1353           }
1354         },
1355         "xml": {
1356           "name": "output",
1357           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1358         },
1359         "title": "action-types_list_list-action_output",
1360         "type": "object"
1361       },
1362       "action-types_container_container-action_input": {
1363         "required": [
1364           "ca-input"
1365         ],
1366         "properties": {
1367           "ca-input": {
1368             "description": "",
1369             "type": "string",
1370             "example": "Some ca-input"
1371           }
1372         },
1373         "xml": {
1374           "name": "input",
1375           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1376         },
1377         "title": "action-types_container_container-action_input",
1378         "type": "object"
1379       },
1380       "action-types_multi-container_inner-container": {
1381         "properties": {},
1382         "xml": {
1383           "name": "inner-container",
1384           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1385         },
1386         "title": "action-types_multi-container_inner-container",
1387         "type": "object"
1388       },
1389       "action-types_list": {
1390         "properties": {
1391           "name": {
1392             "description": "",
1393             "type": "string",
1394             "example": "Some name"
1395           }
1396         },
1397         "xml": {
1398           "name": "list",
1399           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1400         },
1401         "title": "action-types_list",
1402         "type": "object"
1403       },
1404       "action-types_container_container-action_output": {
1405         "required": [
1406           "ca-output"
1407         ],
1408         "properties": {
1409           "ca-output": {
1410             "description": "",
1411             "type": "string",
1412             "example": "Some ca-output"
1413           }
1414         },
1415         "xml": {
1416           "name": "output",
1417           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1418         },
1419         "title": "action-types_container_container-action_output",
1420         "type": "object"
1421       },
1422       "action-types_first-container": {
1423         "properties": {
1424           "second-container": {
1425             "$ref": "#/components/schemas/action-types_first-container_second-container"
1426           }
1427         },
1428         "title": "action-types_first-container",
1429         "type": "object",
1430         "xml": {
1431           "name": "first-container",
1432           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1433         }
1434       },
1435       "action-types_first-container_second-container": {
1436         "properties": {
1437           "third-container": {
1438             "$ref": "#/components/schemas/action-types_first-container_second-container_third-container"
1439           }
1440         },
1441         "title": "action-types_first-container_second-container",
1442         "type": "object",
1443         "xml": {
1444           "name": "second-container",
1445           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1446         }
1447       },
1448       "action-types_first-container_second-container_third-container_nested-action_input": {
1449         "properties": {
1450           "input-leaf": {
1451             "description": "",
1452             "example": "Some input-leaf",
1453             "type": "string"
1454           }
1455         },
1456         "title": "action-types_first-container_second-container_third-container_nested-action_input",
1457         "type": "object",
1458         "xml": {
1459           "name": "input",
1460           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1461         }
1462       },
1463       "action-types_first-container_second-container_third-container_nested-action_output": {
1464         "properties": {
1465           "output-leaf": {
1466             "description": "",
1467             "example": "Some output-leaf",
1468             "type": "string"
1469           }
1470         },
1471         "title": "action-types_first-container_second-container_third-container_nested-action_output",
1472         "type": "object",
1473         "xml": {
1474           "name": "output",
1475           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1476         }
1477       },
1478       "action-types_first-container_second-container_third-container": {
1479         "properties": {},
1480         "title": "action-types_first-container_second-container_third-container",
1481         "type": "object",
1482         "xml": {
1483           "name": "third-container",
1484           "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
1485         }
1486       }
1487     },
1488     "securitySchemes": {
1489       "basicAuth": {
1490         "scheme": "basic",
1491         "type": "http"
1492       }
1493     }
1494   },
1495   "security": [
1496     {
1497       "basicAuth": []
1498     }
1499   ]
1500 }