OpenAPI: Add test for inner action schema
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / controller-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/data/action-types:multi-container/inner-container": {
15       "get": {
16         "tags": [
17           "Controller action-types"
18         ],
19         "parameters": [
20           {
21             "name": "content",
22             "in": "query",
23             "required": false,
24             "schema": {
25               "enum": [
26                 "config",
27                 "nonconfig",
28                 "all"
29               ],
30               "type": "string"
31             }
32           }
33         ],
34         "responses": {
35           "200": {
36             "description": "200",
37             "content": {
38               "application/xml": {
39                 "schema": {
40                   "$ref": "#/components/schemas/action-types_multi-container_inner-container"
41                 }
42               },
43               "application/json": {
44                 "schema": {
45                   "properties": {
46                     "inner-container": {
47                       "$ref": "#/components/schemas/action-types_multi-container_inner-container",
48                       "type": "object"
49                     }
50                   }
51                 }
52               }
53             }
54           }
55         },
56         "description": "",
57         "summary": "GET - Controller - action-types - inner-container"
58       },
59       "put": {
60         "tags": [
61           "Controller action-types"
62         ],
63         "parameters": [],
64         "requestBody": {
65           "description": "inner-container",
66           "content": {
67             "application/xml": {
68               "schema": {
69                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
70               }
71             },
72             "application/json": {
73               "schema": {
74                 "properties": {
75                   "action-types:inner-container": {
76                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
77                     "type": "object"
78                   }
79                 }
80               }
81             }
82           }
83         },
84         "responses": {
85           "204": {
86             "description": "Updated"
87           },
88           "201": {
89             "description": "Created"
90           }
91         },
92         "description": "",
93         "summary": "PUT - action-types - Controller - inner-container"
94       },
95       "delete": {
96         "tags": [
97           "Controller action-types"
98         ],
99         "parameters": [],
100         "responses": {
101           "204": {
102             "description": "Deleted"
103           }
104         },
105         "description": "",
106         "summary": "DELETE - Controller - action-types - inner-container"
107       },
108       "patch": {
109         "tags": [
110           "Controller action-types"
111         ],
112         "parameters": [],
113         "requestBody": {
114           "description": "inner-container",
115           "content": {
116             "application/yang-data+json": {
117               "schema": {
118                 "properties": {
119                   "action-types:inner-container": {
120                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
121                     "type": "object"
122                   }
123                 }
124               }
125             },
126             "application/yang-data+xml": {
127               "schema": {
128                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
129               }
130             }
131           }
132         },
133         "responses": {
134           "200": {
135             "description": "OK"
136           },
137           "204": {
138             "description": "Updated"
139           }
140         },
141         "description": "",
142         "summary": "PATCH - action-types - Controller - inner-container"
143       }
144     },
145     "/rests/operations/action-types:container/container-action": {
146       "post": {
147         "tags": [
148           "Controller action-types"
149         ],
150         "parameters": [],
151         "requestBody": {
152           "description": "container-action_input",
153           "content": {
154             "application/xml": {
155               "schema": {
156                 "$ref": "#/components/schemas/action-types_container_container-action_input"
157               }
158             },
159             "application/json": {
160               "schema": {
161                 "properties": {
162                   "input": {
163                     "$ref": "#/components/schemas/action-types_container_container-action_input",
164                     "type": "object"
165                   }
166                 }
167               }
168             }
169           }
170         },
171         "responses": {
172           "200": {
173             "description": "RPC container-action success",
174             "content": {
175               "application/xml": {
176                 "schema": {
177                   "$ref": "#/components/schemas/action-types_container_container-action_output"
178                 }
179               },
180               "application/json": {
181                 "schema": {
182                   "$ref": "#/components/schemas/action-types_container_container-action_output"
183                 }
184               }
185             }
186           }
187         },
188         "description": "",
189         "summary": "POST - Controller - action-types - container-action"
190       }
191     },
192     "/rests/data": {
193       "post": {
194         "tags": [
195           "Controller action-types"
196         ],
197         "parameters": [],
198         "requestBody": {
199           "description": "list",
200           "content": {
201             "application/xml": {
202               "schema": {
203                 "$ref": "#/components/schemas/action-types_list"
204               }
205             },
206             "application/json": {
207               "schema": {
208                 "properties": {
209                   "list": {
210                     "type": "array",
211                     "items": {
212                       "$ref": "#/components/schemas/action-types_list",
213                       "type": "object"
214                     }
215                   }
216                 }
217               }
218             }
219           }
220         },
221         "responses": {
222           "201": {
223             "description": "Created"
224           }
225         },
226         "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",
227         "summary": "POST - Controller - action-types - action-types"
228       }
229     },
230     "/rests/data/action-types:multi-container": {
231       "get": {
232         "tags": [
233           "Controller action-types"
234         ],
235         "parameters": [
236           {
237             "name": "content",
238             "in": "query",
239             "required": false,
240             "schema": {
241               "enum": [
242                 "config",
243                 "nonconfig",
244                 "all"
245               ],
246               "type": "string"
247             }
248           }
249         ],
250         "responses": {
251           "200": {
252             "description": "200",
253             "content": {
254               "application/xml": {
255                 "schema": {
256                   "$ref": "#/components/schemas/action-types_multi-container"
257                 }
258               },
259               "application/json": {
260                 "schema": {
261                   "properties": {
262                     "multi-container": {
263                       "$ref": "#/components/schemas/action-types_multi-container",
264                       "type": "object"
265                     }
266                   }
267                 }
268               }
269             }
270           }
271         },
272         "description": "",
273         "summary": "GET - Controller - action-types - multi-container"
274       },
275       "put": {
276         "tags": [
277           "Controller action-types"
278         ],
279         "parameters": [],
280         "requestBody": {
281           "description": "multi-container",
282           "content": {
283             "application/xml": {
284               "schema": {
285                 "$ref": "#/components/schemas/action-types_multi-container"
286               }
287             },
288             "application/json": {
289               "schema": {
290                 "properties": {
291                   "action-types:multi-container": {
292                     "$ref": "#/components/schemas/action-types_multi-container",
293                     "type": "object"
294                   }
295                 }
296               }
297             }
298           }
299         },
300         "responses": {
301           "204": {
302             "description": "Updated"
303           },
304           "201": {
305             "description": "Created"
306           }
307         },
308         "description": "",
309         "summary": "PUT - action-types - Controller - multi-container"
310       },
311       "post": {
312         "tags": [
313           "Controller action-types"
314         ],
315         "parameters": [],
316         "requestBody": {
317           "description": "inner-container",
318           "content": {
319             "application/xml": {
320               "schema": {
321                 "$ref": "#/components/schemas/action-types_multi-container_inner-container"
322               }
323             },
324             "application/json": {
325               "schema": {
326                 "properties": {
327                   "inner-container": {
328                     "$ref": "#/components/schemas/action-types_multi-container_inner-container",
329                     "type": "object"
330                   }
331                 }
332               }
333             }
334           }
335         },
336         "responses": {
337           "201": {
338             "description": "Created"
339           }
340         },
341         "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",
342         "summary": "POST - Controller - action-types - multi-container"
343       },
344       "delete": {
345         "tags": [
346           "Controller action-types"
347         ],
348         "parameters": [],
349         "responses": {
350           "204": {
351             "description": "Deleted"
352           }
353         },
354         "description": "",
355         "summary": "DELETE - Controller - action-types - multi-container"
356       },
357       "patch": {
358         "tags": [
359           "Controller action-types"
360         ],
361         "parameters": [],
362         "requestBody": {
363           "description": "multi-container",
364           "content": {
365             "application/yang-data+json": {
366               "schema": {
367                 "properties": {
368                   "action-types:multi-container": {
369                     "$ref": "#/components/schemas/action-types_multi-container",
370                     "type": "object"
371                   }
372                 }
373               }
374             },
375             "application/yang-data+xml": {
376               "schema": {
377                 "$ref": "#/components/schemas/action-types_multi-container"
378               }
379             }
380           }
381         },
382         "responses": {
383           "200": {
384             "description": "OK"
385           },
386           "204": {
387             "description": "Updated"
388           }
389         },
390         "description": "",
391         "summary": "PATCH - action-types - Controller - multi-container"
392       }
393     },
394     "/rests/data/action-types:list={name}": {
395       "get": {
396         "tags": [
397           "Controller action-types"
398         ],
399         "parameters": [
400           {
401             "name": "name",
402             "in": "path",
403             "required": true,
404             "schema": {
405               "type": "string"
406             }
407           },
408           {
409             "name": "content",
410             "in": "query",
411             "required": false,
412             "schema": {
413               "enum": [
414                 "config",
415                 "nonconfig",
416                 "all"
417               ],
418               "type": "string"
419             }
420           }
421         ],
422         "responses": {
423           "200": {
424             "description": "200",
425             "content": {
426               "application/xml": {
427                 "schema": {
428                   "$ref": "#/components/schemas/action-types_list"
429                 }
430               },
431               "application/json": {
432                 "schema": {
433                   "properties": {
434                     "list": {
435                       "type": "array",
436                       "items": {
437                         "$ref": "#/components/schemas/action-types_list",
438                         "type": "object"
439                       }
440                     }
441                   }
442                 }
443               }
444             }
445           }
446         },
447         "description": "",
448         "summary": "GET - Controller - action-types - list"
449       },
450       "put": {
451         "tags": [
452           "Controller action-types"
453         ],
454         "parameters": [
455           {
456             "name": "name",
457             "in": "path",
458             "required": true,
459             "schema": {
460               "type": "string"
461             }
462           }
463         ],
464         "requestBody": {
465           "description": "list",
466           "content": {
467             "application/xml": {
468               "schema": {
469                 "$ref": "#/components/schemas/action-types_list"
470               }
471             },
472             "application/json": {
473               "schema": {
474                 "properties": {
475                   "action-types:list": {
476                     "type": "array",
477                     "items": {
478                       "$ref": "#/components/schemas/action-types_list",
479                       "type": "object"
480                     }
481                   }
482                 }
483               }
484             }
485           }
486         },
487         "responses": {
488           "204": {
489             "description": "Updated"
490           },
491           "201": {
492             "description": "Created"
493           }
494         },
495         "description": "",
496         "summary": "PUT - action-types - Controller - list"
497       },
498       "delete": {
499         "tags": [
500           "Controller action-types"
501         ],
502         "parameters": [
503           {
504             "name": "name",
505             "in": "path",
506             "required": true,
507             "schema": {
508               "type": "string"
509             }
510           }
511         ],
512         "responses": {
513           "204": {
514             "description": "Deleted"
515           }
516         },
517         "description": "",
518         "summary": "DELETE - Controller - action-types - list"
519       },
520       "patch": {
521         "tags": [
522           "Controller action-types"
523         ],
524         "parameters": [
525           {
526             "name": "name",
527             "in": "path",
528             "required": true,
529             "schema": {
530               "type": "string"
531             }
532           }
533         ],
534         "requestBody": {
535           "description": "list",
536           "content": {
537             "application/yang-data+json": {
538               "schema": {
539                 "properties": {
540                   "action-types:list": {
541                     "type": "array",
542                     "items": {
543                       "$ref": "#/components/schemas/action-types_list",
544                       "type": "object"
545                     }
546                   }
547                 }
548               }
549             },
550             "application/yang-data+xml": {
551               "schema": {
552                 "$ref": "#/components/schemas/action-types_list"
553               }
554             }
555           }
556         },
557         "responses": {
558           "200": {
559             "description": "OK"
560           },
561           "204": {
562             "description": "Updated"
563           }
564         },
565         "description": "",
566         "summary": "PATCH - action-types - Controller - list"
567       }
568     },
569     "/rests/operations/action-types:list={name}/list-action": {
570       "post": {
571         "tags": [
572           "Controller action-types"
573         ],
574         "parameters": [
575           {
576             "name": "name",
577             "in": "path",
578             "required": true,
579             "schema": {
580               "type": "string"
581             }
582           }
583         ],
584         "requestBody": {
585           "description": "list-action_input",
586           "content": {
587             "application/xml": {
588               "schema": {
589                 "$ref": "#/components/schemas/action-types_list_list-action_input"
590               }
591             },
592             "application/json": {
593               "schema": {
594                 "properties": {
595                   "input": {
596                     "$ref": "#/components/schemas/action-types_list_list-action_input",
597                     "type": "object"
598                   }
599                 }
600               }
601             }
602           }
603         },
604         "responses": {
605           "200": {
606             "description": "RPC list-action success",
607             "content": {
608               "application/xml": {
609                 "schema": {
610                   "$ref": "#/components/schemas/action-types_list_list-action_output"
611                 }
612               },
613               "application/json": {
614                 "schema": {
615                   "$ref": "#/components/schemas/action-types_list_list-action_output"
616                 }
617               }
618             }
619           }
620         },
621         "description": "",
622         "summary": "POST - Controller - action-types - list-action"
623       }
624     },
625     "/rests/data/action-types:container": {
626       "get": {
627         "tags": [
628           "Controller action-types"
629         ],
630         "parameters": [
631           {
632             "name": "content",
633             "in": "query",
634             "required": false,
635             "schema": {
636               "enum": [
637                 "config",
638                 "nonconfig",
639                 "all"
640               ],
641               "type": "string"
642             }
643           }
644         ],
645         "responses": {
646           "200": {
647             "description": "200",
648             "content": {
649               "application/xml": {
650                 "schema": {
651                   "$ref": "#/components/schemas/action-types_container"
652                 }
653               },
654               "application/json": {
655                 "schema": {
656                   "properties": {
657                     "container": {
658                       "$ref": "#/components/schemas/action-types_container",
659                       "type": "object"
660                     }
661                   }
662                 }
663               }
664             }
665           }
666         },
667         "description": "",
668         "summary": "GET - Controller - action-types - container"
669       },
670       "put": {
671         "tags": [
672           "Controller action-types"
673         ],
674         "parameters": [],
675         "requestBody": {
676           "description": "container",
677           "content": {
678             "application/xml": {
679               "schema": {
680                 "$ref": "#/components/schemas/action-types_container"
681               }
682             },
683             "application/json": {
684               "schema": {
685                 "properties": {
686                   "action-types:container": {
687                     "$ref": "#/components/schemas/action-types_container",
688                     "type": "object"
689                   }
690                 }
691               }
692             }
693           }
694         },
695         "responses": {
696           "204": {
697             "description": "Updated"
698           },
699           "201": {
700             "description": "Created"
701           }
702         },
703         "description": "",
704         "summary": "PUT - action-types - Controller - container"
705       },
706       "delete": {
707         "tags": [
708           "Controller action-types"
709         ],
710         "parameters": [],
711         "responses": {
712           "204": {
713             "description": "Deleted"
714           }
715         },
716         "description": "",
717         "summary": "DELETE - Controller - action-types - container"
718       },
719       "patch": {
720         "tags": [
721           "Controller action-types"
722         ],
723         "parameters": [],
724         "requestBody": {
725           "description": "container",
726           "content": {
727             "application/yang-data+json": {
728               "schema": {
729                 "properties": {
730                   "action-types:container": {
731                     "$ref": "#/components/schemas/action-types_container",
732                     "type": "object"
733                   }
734                 }
735               }
736             },
737             "application/yang-data+xml": {
738               "schema": {
739                 "$ref": "#/components/schemas/action-types_container"
740               }
741             }
742           }
743         },
744         "responses": {
745           "200": {
746             "description": "OK"
747           },
748           "204": {
749             "description": "Updated"
750           }
751         },
752         "description": "",
753         "summary": "PATCH - action-types - Controller - container"
754       }
755     },
756     "/rests/operations/action-types:multi-container/inner-container/action": {
757       "post": {
758         "tags": [
759           "Controller action-types"
760         ],
761         "parameters": [],
762         "requestBody": {
763           "description": "action_input",
764           "content": {
765             "application/xml": {
766               "schema": {
767                 "xml": {
768                   "name": "input",
769                   "namespace": "urn:ietf:params:xml:ns:yang:test:action:types"
770                 },
771                 "type": "object"
772               }
773             },
774             "application/json": {
775               "schema": {
776                 "properties": {
777                   "input": {
778                     "type": "object"
779                   }
780                 },
781                 "type": "object"
782               }
783             }
784           }
785         },
786         "responses": {
787           "204": {
788             "description": "RPC action success"
789           }
790         },
791         "description": "",
792         "summary": "POST - Controller - action-types - action"
793       }
794     },
795     "/rests/data/action-types:first-container": {
796       "delete": {
797         "description": "",
798         "parameters": [],
799         "responses": {
800           "204": {
801             "description": "Deleted"
802           }
803         },
804         "summary": "DELETE - Controller - action-types - first-container",
805         "tags": [
806           "Controller 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 - Controller - action-types - first-container",
849         "tags": [
850           "Controller 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 - Controller - first-container",
885         "tags": [
886           "Controller 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 - Controller - action-types - first-container",
918         "tags": [
919           "Controller 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 - Controller - first-container",
954         "tags": [
955           "Controller action-types"
956         ]
957       }
958     },
959     "/rests/data/action-types:first-container/second-container": {
960       "delete": {
961         "description": "",
962         "parameters": [],
963         "responses": {
964           "204": {
965             "description": "Deleted"
966           }
967         },
968         "summary": "DELETE - Controller - action-types - second-container",
969         "tags": [
970           "Controller 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 - Controller - action-types - second-container",
1013         "tags": [
1014           "Controller 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 - Controller - second-container",
1049         "tags": [
1050           "Controller 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 - Controller - action-types - second-container",
1082         "tags": [
1083           "Controller 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 - Controller - second-container",
1118         "tags": [
1119           "Controller action-types"
1120         ]
1121       }
1122     },
1123     "/rests/data/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 - Controller - action-types - third-container",
1133         "tags": [
1134           "Controller 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 - Controller - action-types - third-container",
1177         "tags": [
1178           "Controller 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 - Controller - third-container",
1213         "tags": [
1214           "Controller 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 - Controller - third-container",
1249         "tags": [
1250           "Controller action-types"
1251         ]
1252       }
1253     },
1254     "/rests/operations/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 - Controller - action-types - nested-action",
1296         "tags": [
1297           "Controller 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 }