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