Adapt tests for OpenApi
[netconf.git] / restconf / restconf-openapi / src / test / resources / yang-document / device-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 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/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/list2={name1}": {
15       "get": {
16         "tags": [
17           "123 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": "name1",
30             "in": "path",
31             "required": true,
32             "schema": {
33               "type": "string"
34             }
35           },
36           {
37             "name": "content",
38             "in": "query",
39             "required": false,
40             "schema": {
41               "enum": [
42                 "config",
43                 "nonconfig",
44                 "all"
45               ],
46               "type": "string"
47             }
48           }
49         ],
50         "responses": {
51           "200": {
52             "description": "200",
53             "content": {
54               "application/xml": {
55                 "schema": {
56                   "$ref": "#/components/schemas/path-params-test_cont_list1_list2"
57                 }
58               },
59               "application/json": {
60                 "schema": {
61                   "properties": {
62                     "list2": {
63                       "type": "array",
64                       "items": {
65                         "$ref": "#/components/schemas/path-params-test_cont_list1_list2",
66                         "type": "object"
67                       }
68                     }
69                   }
70                 }
71               }
72             }
73           }
74         },
75         "description": "",
76         "summary": "GET - 123 - path-params-test - list2"
77       },
78       "put": {
79         "tags": [
80           "123 path-params-test"
81         ],
82         "parameters": [
83           {
84             "name": "name",
85             "in": "path",
86             "required": true,
87             "schema": {
88               "type": "string"
89             }
90           },
91           {
92             "name": "name1",
93             "in": "path",
94             "required": true,
95             "schema": {
96               "type": "string"
97             }
98           }
99         ],
100         "requestBody": {
101           "description": "list2",
102           "content": {
103             "application/xml": {
104               "schema": {
105                 "$ref": "#/components/schemas/path-params-test_cont_list1_list2"
106               }
107             },
108             "application/json": {
109               "schema": {
110                 "properties": {
111                   "path-params-test:list2": {
112                     "type": "array",
113                     "items": {
114                       "$ref": "#/components/schemas/path-params-test_cont_list1_list2",
115                       "type": "object"
116                     }
117                   }
118                 }
119               }
120             }
121           }
122         },
123         "responses": {
124           "204": {
125             "description": "Updated"
126           },
127           "201": {
128             "description": "Created"
129           }
130         },
131         "description": "",
132         "summary": "PUT - path-params-test - 123 - list2"
133       },
134       "delete": {
135         "tags": [
136           "123 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             "name": "name1",
149             "in": "path",
150             "required": true,
151             "schema": {
152               "type": "string"
153             }
154           }
155         ],
156         "responses": {
157           "204": {
158             "description": "Deleted"
159           }
160         },
161         "description": "",
162         "summary": "DELETE - 123 - path-params-test - list2"
163       },
164       "patch": {
165         "tags": [
166           "123 path-params-test"
167         ],
168         "parameters": [
169           {
170             "name": "name",
171             "in": "path",
172             "required": true,
173             "schema": {
174               "type": "string"
175             }
176           },
177           {
178             "name": "name1",
179             "in": "path",
180             "required": true,
181             "schema": {
182               "type": "string"
183             }
184           }
185         ],
186         "requestBody": {
187           "description": "list2",
188           "content": {
189             "application/yang-data+json": {
190               "schema": {
191                 "properties": {
192                   "path-params-test:list2": {
193                     "type": "array",
194                     "items": {
195                       "$ref": "#/components/schemas/path-params-test_cont_list1_list2",
196                       "type": "object"
197                     }
198                   }
199                 }
200               }
201             },
202             "application/yang-data+xml": {
203               "schema": {
204                 "$ref": "#/components/schemas/path-params-test_cont_list1_list2"
205               }
206             }
207           }
208         },
209         "responses": {
210           "200": {
211             "description": "OK"
212           },
213           "204": {
214             "description": "Updated"
215           }
216         },
217         "description": "",
218         "summary": "PATCH - path-params-test - 123 - list2"
219       }
220     },
221     "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/cont2": {
222       "get": {
223         "tags": [
224           "123 path-params-test"
225         ],
226         "parameters": [
227           {
228             "name": "name",
229             "in": "path",
230             "required": true,
231             "schema": {
232               "type": "string"
233             }
234           },
235           {
236             "name": "content",
237             "in": "query",
238             "required": false,
239             "schema": {
240               "enum": [
241                 "config",
242                 "nonconfig",
243                 "all"
244               ],
245               "type": "string"
246             }
247           }
248         ],
249         "responses": {
250           "200": {
251             "description": "200",
252             "content": {
253               "application/xml": {
254                 "schema": {
255                   "$ref": "#/components/schemas/path-params-test_cont_list1_cont2"
256                 }
257               },
258               "application/json": {
259                 "schema": {
260                   "properties": {
261                     "cont2": {
262                       "$ref": "#/components/schemas/path-params-test_cont_list1_cont2",
263                       "type": "object"
264                     }
265                   }
266                 }
267               }
268             }
269           }
270         },
271         "description": "",
272         "summary": "GET - 123 - path-params-test - cont2"
273       },
274       "put": {
275         "tags": [
276           "123 path-params-test"
277         ],
278         "parameters": [
279           {
280             "name": "name",
281             "in": "path",
282             "required": true,
283             "schema": {
284               "type": "string"
285             }
286           }
287         ],
288         "requestBody": {
289           "description": "cont2",
290           "content": {
291             "application/xml": {
292               "schema": {
293                 "$ref": "#/components/schemas/path-params-test_cont_list1_cont2"
294               }
295             },
296             "application/json": {
297               "schema": {
298                 "properties": {
299                   "path-params-test:cont2": {
300                     "$ref": "#/components/schemas/path-params-test_cont_list1_cont2",
301                     "type": "object"
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 - 123 - cont2"
318       },
319       "delete": {
320         "tags": [
321           "123 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 - 123 - path-params-test - cont2"
340       },
341       "patch": {
342         "tags": [
343           "123 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": "cont2",
357           "content": {
358             "application/yang-data+json": {
359               "schema": {
360                 "properties": {
361                   "path-params-test:cont2": {
362                     "$ref": "#/components/schemas/path-params-test_cont_list1_cont2",
363                     "type": "object"
364                   }
365                 }
366               }
367             },
368             "application/yang-data+xml": {
369               "schema": {
370                 "$ref": "#/components/schemas/path-params-test_cont_list1_cont2"
371               }
372             }
373           }
374         },
375         "responses": {
376           "200": {
377             "description": "OK"
378           },
379           "204": {
380             "description": "Updated"
381           }
382         },
383         "description": "",
384         "summary": "PATCH - path-params-test - 123 - cont2"
385       }
386     },
387     "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/list4={name1}": {
388       "get": {
389         "tags": [
390           "123 path-params-test"
391         ],
392         "parameters": [
393           {
394             "name": "name",
395             "in": "path",
396             "required": true,
397             "schema": {
398               "type": "string"
399             }
400           },
401           {
402             "name": "name1",
403             "in": "path",
404             "required": true,
405             "schema": {
406               "type": "string"
407             }
408           },
409           {
410             "name": "content",
411             "in": "query",
412             "required": false,
413             "schema": {
414               "enum": [
415                 "config",
416                 "nonconfig",
417                 "all"
418               ],
419               "type": "string"
420             }
421           }
422         ],
423         "responses": {
424           "200": {
425             "description": "200",
426             "content": {
427               "application/xml": {
428                 "schema": {
429                   "$ref": "#/components/schemas/path-params-test_cont_list1_list4"
430                 }
431               },
432               "application/json": {
433                 "schema": {
434                   "properties": {
435                     "list4": {
436                       "type": "array",
437                       "items": {
438                         "$ref": "#/components/schemas/path-params-test_cont_list1_list4",
439                         "type": "object"
440                       }
441                     }
442                   }
443                 }
444               }
445             }
446           }
447         },
448         "description": "",
449         "summary": "GET - 123 - path-params-test - list4"
450       },
451       "put": {
452         "tags": [
453           "123 path-params-test"
454         ],
455         "parameters": [
456           {
457             "name": "name",
458             "in": "path",
459             "required": true,
460             "schema": {
461               "type": "string"
462             }
463           },
464           {
465             "name": "name1",
466             "in": "path",
467             "required": true,
468             "schema": {
469               "type": "string"
470             }
471           }
472         ],
473         "requestBody": {
474           "description": "list4",
475           "content": {
476             "application/xml": {
477               "schema": {
478                 "$ref": "#/components/schemas/path-params-test_cont_list1_list4"
479               }
480             },
481             "application/json": {
482               "schema": {
483                 "properties": {
484                   "path-params-test:list4": {
485                     "type": "array",
486                     "items": {
487                       "$ref": "#/components/schemas/path-params-test_cont_list1_list4",
488                       "type": "object"
489                     }
490                   }
491                 }
492               }
493             }
494           }
495         },
496         "responses": {
497           "204": {
498             "description": "Updated"
499           },
500           "201": {
501             "description": "Created"
502           }
503         },
504         "description": "",
505         "summary": "PUT - path-params-test - 123 - list4"
506       },
507       "delete": {
508         "tags": [
509           "123 path-params-test"
510         ],
511         "parameters": [
512           {
513             "name": "name",
514             "in": "path",
515             "required": true,
516             "schema": {
517               "type": "string"
518             }
519           },
520           {
521             "name": "name1",
522             "in": "path",
523             "required": true,
524             "schema": {
525               "type": "string"
526             }
527           }
528         ],
529         "responses": {
530           "204": {
531             "description": "Deleted"
532           }
533         },
534         "description": "",
535         "summary": "DELETE - 123 - path-params-test - list4"
536       },
537       "patch": {
538         "tags": [
539           "123 path-params-test"
540         ],
541         "parameters": [
542           {
543             "name": "name",
544             "in": "path",
545             "required": true,
546             "schema": {
547               "type": "string"
548             }
549           },
550           {
551             "name": "name1",
552             "in": "path",
553             "required": true,
554             "schema": {
555               "type": "string"
556             }
557           }
558         ],
559         "requestBody": {
560           "description": "list4",
561           "content": {
562             "application/yang-data+json": {
563               "schema": {
564                 "properties": {
565                   "path-params-test:list4": {
566                     "type": "array",
567                     "items": {
568                       "$ref": "#/components/schemas/path-params-test_cont_list1_list4",
569                       "type": "object"
570                     }
571                   }
572                 }
573               }
574             },
575             "application/yang-data+xml": {
576               "schema": {
577                 "$ref": "#/components/schemas/path-params-test_cont_list1_list4"
578               }
579             }
580           }
581         },
582         "responses": {
583           "200": {
584             "description": "OK"
585           },
586           "204": {
587             "description": "Updated"
588           }
589         },
590         "description": "",
591         "summary": "PATCH - path-params-test - 123 - list4"
592       }
593     },
594     "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list3={name}": {
595       "get": {
596         "tags": [
597           "123 path-params-test"
598         ],
599         "parameters": [
600           {
601             "name": "name",
602             "in": "path",
603             "required": true,
604             "schema": {
605               "type": "string"
606             }
607           },
608           {
609             "name": "content",
610             "in": "query",
611             "required": false,
612             "schema": {
613               "enum": [
614                 "config",
615                 "nonconfig",
616                 "all"
617               ],
618               "type": "string"
619             }
620           }
621         ],
622         "responses": {
623           "200": {
624             "description": "200",
625             "content": {
626               "application/xml": {
627                 "schema": {
628                   "$ref": "#/components/schemas/path-params-test_cont_list3"
629                 }
630               },
631               "application/json": {
632                 "schema": {
633                   "properties": {
634                     "list3": {
635                       "type": "array",
636                       "items": {
637                         "$ref": "#/components/schemas/path-params-test_cont_list3",
638                         "type": "object"
639                       }
640                     }
641                   }
642                 }
643               }
644             }
645           }
646         },
647         "description": "",
648         "summary": "GET - 123 - path-params-test - list3"
649       },
650       "put": {
651         "tags": [
652           "123 path-params-test"
653         ],
654         "parameters": [
655           {
656             "name": "name",
657             "in": "path",
658             "required": true,
659             "schema": {
660               "type": "string"
661             }
662           }
663         ],
664         "requestBody": {
665           "description": "list3",
666           "content": {
667             "application/xml": {
668               "schema": {
669                 "$ref": "#/components/schemas/path-params-test_cont_list3"
670               }
671             },
672             "application/json": {
673               "schema": {
674                 "properties": {
675                   "path-params-test:list3": {
676                     "type": "array",
677                     "items": {
678                       "$ref": "#/components/schemas/path-params-test_cont_list3",
679                       "type": "object"
680                     }
681                   }
682                 }
683               }
684             }
685           }
686         },
687         "responses": {
688           "204": {
689             "description": "Updated"
690           },
691           "201": {
692             "description": "Created"
693           }
694         },
695         "description": "",
696         "summary": "PUT - path-params-test - 123 - list3"
697       },
698       "delete": {
699         "tags": [
700           "123 path-params-test"
701         ],
702         "parameters": [
703           {
704             "name": "name",
705             "in": "path",
706             "required": true,
707             "schema": {
708               "type": "string"
709             }
710           }
711         ],
712         "responses": {
713           "204": {
714             "description": "Deleted"
715           }
716         },
717         "description": "",
718         "summary": "DELETE - 123 - path-params-test - list3"
719       },
720       "patch": {
721         "tags": [
722           "123 path-params-test"
723         ],
724         "parameters": [
725           {
726             "name": "name",
727             "in": "path",
728             "required": true,
729             "schema": {
730               "type": "string"
731             }
732           }
733         ],
734         "requestBody": {
735           "description": "list3",
736           "content": {
737             "application/yang-data+json": {
738               "schema": {
739                 "properties": {
740                   "path-params-test:list3": {
741                     "type": "array",
742                     "items": {
743                       "$ref": "#/components/schemas/path-params-test_cont_list3",
744                       "type": "object"
745                     }
746                   }
747                 }
748               }
749             },
750             "application/yang-data+xml": {
751               "schema": {
752                 "$ref": "#/components/schemas/path-params-test_cont_list3"
753               }
754             }
755           }
756         },
757         "responses": {
758           "200": {
759             "description": "OK"
760           },
761           "204": {
762             "description": "Updated"
763           }
764         },
765         "description": "",
766         "summary": "PATCH - path-params-test - 123 - list3"
767       }
768     },
769     "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}": {
770       "get": {
771         "tags": [
772           "123 path-params-test"
773         ],
774         "parameters": [
775           {
776             "name": "name",
777             "in": "path",
778             "required": true,
779             "schema": {
780               "type": "string"
781             }
782           },
783           {
784             "name": "content",
785             "in": "query",
786             "required": false,
787             "schema": {
788               "enum": [
789                 "config",
790                 "nonconfig",
791                 "all"
792               ],
793               "type": "string"
794             }
795           }
796         ],
797         "responses": {
798           "200": {
799             "description": "200",
800             "content": {
801               "application/xml": {
802                 "schema": {
803                   "$ref": "#/components/schemas/path-params-test_cont_list1"
804                 }
805               },
806               "application/json": {
807                 "schema": {
808                   "properties": {
809                     "list1": {
810                       "type": "array",
811                       "items": {
812                         "$ref": "#/components/schemas/path-params-test_cont_list1",
813                         "type": "object"
814                       }
815                     }
816                   }
817                 }
818               }
819             }
820           }
821         },
822         "description": "",
823         "summary": "GET - 123 - path-params-test - list1"
824       },
825       "put": {
826         "tags": [
827           "123 path-params-test"
828         ],
829         "parameters": [
830           {
831             "name": "name",
832             "in": "path",
833             "required": true,
834             "schema": {
835               "type": "string"
836             }
837           }
838         ],
839         "requestBody": {
840           "description": "list1",
841           "content": {
842             "application/xml": {
843               "schema": {
844                 "$ref": "#/components/schemas/path-params-test_cont_list1"
845               }
846             },
847             "application/json": {
848               "schema": {
849                 "properties": {
850                   "path-params-test:list1": {
851                     "type": "array",
852                     "items": {
853                       "$ref": "#/components/schemas/path-params-test_cont_list1",
854                       "type": "object"
855                     }
856                   }
857                 }
858               }
859             }
860           }
861         },
862         "responses": {
863           "204": {
864             "description": "Updated"
865           },
866           "201": {
867             "description": "Created"
868           }
869         },
870         "description": "",
871         "summary": "PUT - path-params-test - 123 - list1"
872       },
873       "delete": {
874         "tags": [
875           "123 path-params-test"
876         ],
877         "parameters": [
878           {
879             "name": "name",
880             "in": "path",
881             "required": true,
882             "schema": {
883               "type": "string"
884             }
885           }
886         ],
887         "responses": {
888           "204": {
889             "description": "Deleted"
890           }
891         },
892         "description": "",
893         "summary": "DELETE - 123 - path-params-test - list1"
894       },
895       "patch": {
896         "tags": [
897           "123 path-params-test"
898         ],
899         "parameters": [
900           {
901             "name": "name",
902             "in": "path",
903             "required": true,
904             "schema": {
905               "type": "string"
906             }
907           }
908         ],
909         "requestBody": {
910           "description": "list1",
911           "content": {
912             "application/yang-data+json": {
913               "schema": {
914                 "properties": {
915                   "path-params-test:list1": {
916                     "type": "array",
917                     "items": {
918                       "$ref": "#/components/schemas/path-params-test_cont_list1",
919                       "type": "object"
920                     }
921                   }
922                 }
923               }
924             },
925             "application/yang-data+xml": {
926               "schema": {
927                 "$ref": "#/components/schemas/path-params-test_cont_list1"
928               }
929             }
930           }
931         },
932         "responses": {
933           "200": {
934             "description": "OK"
935           },
936           "204": {
937             "description": "Updated"
938           }
939         },
940         "description": "",
941         "summary": "PATCH - path-params-test - 123 - list1"
942       }
943     },
944     "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont": {
945       "get": {
946         "tags": [
947           "123 path-params-test"
948         ],
949         "parameters": [
950           {
951             "name": "content",
952             "in": "query",
953             "required": false,
954             "schema": {
955               "enum": [
956                 "config",
957                 "nonconfig",
958                 "all"
959               ],
960               "type": "string"
961             }
962           }
963         ],
964         "responses": {
965           "200": {
966             "description": "200",
967             "content": {
968               "application/xml": {
969                 "schema": {
970                   "$ref": "#/components/schemas/path-params-test_cont"
971                 }
972               },
973               "application/json": {
974                 "schema": {
975                   "properties": {
976                     "cont": {
977                       "$ref": "#/components/schemas/path-params-test_cont",
978                       "type": "object"
979                     }
980                   }
981                 }
982               }
983             }
984           }
985         },
986         "description": "",
987         "summary": "GET - 123 - path-params-test - cont"
988       },
989       "put": {
990         "tags": [
991           "123 path-params-test"
992         ],
993         "parameters": [],
994         "requestBody": {
995           "description": "cont",
996           "content": {
997             "application/xml": {
998               "schema": {
999                 "$ref": "#/components/schemas/path-params-test_cont"
1000               }
1001             },
1002             "application/json": {
1003               "schema": {
1004                 "properties": {
1005                   "path-params-test:cont": {
1006                     "$ref": "#/components/schemas/path-params-test_cont",
1007                     "type": "object"
1008                   }
1009                 }
1010               }
1011             }
1012           }
1013         },
1014         "responses": {
1015           "204": {
1016             "description": "Updated"
1017           },
1018           "201": {
1019             "description": "Created"
1020           }
1021         },
1022         "description": "",
1023         "summary": "PUT - path-params-test - 123 - cont"
1024       },
1025       "post": {
1026         "tags": [
1027           "123 path-params-test"
1028         ],
1029         "parameters": [],
1030         "requestBody": {
1031           "description": "list1",
1032           "content": {
1033             "application/xml": {
1034               "schema": {
1035                 "$ref": "#/components/schemas/path-params-test_cont_list1"
1036               }
1037             },
1038             "application/json": {
1039               "schema": {
1040                 "properties": {
1041                   "list1": {
1042                     "type": "array",
1043                     "items": {
1044                       "$ref": "#/components/schemas/path-params-test_cont_list1",
1045                       "type": "object"
1046                     }
1047                   }
1048                 }
1049               }
1050             }
1051           }
1052         },
1053         "responses": {
1054           "201": {
1055             "description": "Created"
1056           }
1057         },
1058         "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",
1059         "summary": "POST - 123 - path-params-test - cont"
1060       },
1061       "delete": {
1062         "tags": [
1063           "123 path-params-test"
1064         ],
1065         "parameters": [],
1066         "responses": {
1067           "204": {
1068             "description": "Deleted"
1069           }
1070         },
1071         "description": "",
1072         "summary": "DELETE - 123 - path-params-test - cont"
1073       },
1074       "patch": {
1075         "tags": [
1076           "123 path-params-test"
1077         ],
1078         "parameters": [],
1079         "requestBody": {
1080           "description": "cont",
1081           "content": {
1082             "application/yang-data+json": {
1083               "schema": {
1084                 "properties": {
1085                   "path-params-test:cont": {
1086                     "$ref": "#/components/schemas/path-params-test_cont",
1087                     "type": "object"
1088                   }
1089                 }
1090               }
1091             },
1092             "application/yang-data+xml": {
1093               "schema": {
1094                 "$ref": "#/components/schemas/path-params-test_cont"
1095               }
1096             }
1097           }
1098         },
1099         "responses": {
1100           "200": {
1101             "description": "OK"
1102           },
1103           "204": {
1104             "description": "Updated"
1105           }
1106         },
1107         "description": "",
1108         "summary": "PATCH - path-params-test - 123 - cont"
1109       }
1110     },
1111     "/rests/data/nodes/node=123/yang-ext:mount": {
1112       "post": {
1113         "tags": [
1114           "123 path-params-test"
1115         ],
1116         "parameters": [],
1117         "requestBody": {
1118           "description": "cont",
1119           "content": {
1120             "application/xml": {
1121               "schema": {
1122                 "$ref": "#/components/schemas/path-params-test_cont"
1123               }
1124             },
1125             "application/json": {
1126               "schema": {
1127                 "properties": {
1128                   "cont": {
1129                     "$ref": "#/components/schemas/path-params-test_cont",
1130                     "type": "object"
1131                   }
1132                 }
1133               }
1134             }
1135           }
1136         },
1137         "responses": {
1138           "201": {
1139             "description": "Created"
1140           }
1141         },
1142         "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",
1143         "summary": "POST - 123 - path-params-test - path-params-test"
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 }