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