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