@targetprocess/shared-data-model-client 0.9.0 → 0.10.1-ci.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/v1.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "x-generator": "NSwag v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))",
2
+ "x-generator": "NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))",
3
3
  "openapi": "3.0.0",
4
4
  "info": {
5
5
  "title": "Targetprocess Shared Data Model",
@@ -33,11 +33,13 @@
33
33
  "required": true
34
34
  },
35
35
  "responses": {
36
- "200": {
37
- "description": "Success",
36
+ "400": {
37
+ "description": "Validation error",
38
38
  "content": {
39
- "application/json": {
40
- "schema": {}
39
+ "application/problem+json": {
40
+ "schema": {
41
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
42
+ }
41
43
  }
42
44
  }
43
45
  },
@@ -51,9 +53,92 @@
51
53
  }
52
54
  }
53
55
  },
56
+ "404": {
57
+ "description": "Unable to find resource",
58
+ "content": {
59
+ "application/problem+json": {
60
+ "schema": {
61
+ "$ref": "#/components/schemas/ProblemDetails"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "409": {
67
+ "description": "Conflict",
68
+ "content": {
69
+ "application/problem+json": {
70
+ "schema": {
71
+ "$ref": "#/components/schemas/ProblemDetails"
72
+ }
73
+ }
74
+ }
75
+ },
76
+ "500": {
77
+ "description": "Internal server error",
78
+ "content": {
79
+ "application/problem+json": {
80
+ "schema": {
81
+ "$ref": "#/components/schemas/ProblemDetails"
82
+ }
83
+ }
84
+ }
85
+ },
86
+ "200": {
87
+ "description": "Success",
88
+ "content": {
89
+ "application/json": {
90
+ "schema": {}
91
+ }
92
+ }
93
+ },
54
94
  "403": {
55
95
  "description": "Forbidden"
96
+ }
97
+ },
98
+ "security": [
99
+ {
100
+ "JWTBearerAuth": []
56
101
  },
102
+ {
103
+ "OAuth2": []
104
+ }
105
+ ]
106
+ },
107
+ "delete": {
108
+ "tags": [
109
+ "Sdm"
110
+ ],
111
+ "summary": "Deletes Shared Data Model",
112
+ "operationId": "SharedDataDeleteEndpoint",
113
+ "parameters": [
114
+ {
115
+ "name": "entityType",
116
+ "in": "path",
117
+ "required": true,
118
+ "schema": {
119
+ "type": "string"
120
+ }
121
+ }
122
+ ],
123
+ "requestBody": {
124
+ "x-name": "SharedDataDeleteDto",
125
+ "description": "",
126
+ "content": {
127
+ "*/*": {
128
+ "schema": {
129
+ "$ref": "#/components/schemas/SharedDataDeleteDto"
130
+ }
131
+ },
132
+ "application/json": {
133
+ "schema": {
134
+ "$ref": "#/components/schemas/SharedDataDeleteDto"
135
+ }
136
+ }
137
+ },
138
+ "required": true,
139
+ "x-position": 1
140
+ },
141
+ "responses": {
57
142
  "400": {
58
143
  "description": "Validation error",
59
144
  "content": {
@@ -64,6 +149,16 @@
64
149
  }
65
150
  }
66
151
  },
152
+ "401": {
153
+ "description": "Unauthorized",
154
+ "content": {
155
+ "application/problem+json": {
156
+ "schema": {
157
+ "$ref": "#/components/schemas/ProblemDetails"
158
+ }
159
+ }
160
+ }
161
+ },
67
162
  "404": {
68
163
  "description": "Unable to find resource",
69
164
  "content": {
@@ -93,6 +188,12 @@
93
188
  }
94
189
  }
95
190
  }
191
+ },
192
+ "204": {
193
+ "description": "No Content"
194
+ },
195
+ "403": {
196
+ "description": "Forbidden"
96
197
  }
97
198
  },
98
199
  "security": [
@@ -123,28 +224,22 @@
123
224
  }
124
225
  ],
125
226
  "responses": {
126
- "204": {
127
- "description": "No Content"
128
- },
129
- "401": {
130
- "description": "Unauthorized",
227
+ "400": {
228
+ "description": "Validation error",
131
229
  "content": {
132
230
  "application/problem+json": {
133
231
  "schema": {
134
- "$ref": "#/components/schemas/ProblemDetails"
232
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
135
233
  }
136
234
  }
137
235
  }
138
236
  },
139
- "403": {
140
- "description": "Forbidden"
141
- },
142
- "400": {
143
- "description": "Validation error",
237
+ "401": {
238
+ "description": "Unauthorized",
144
239
  "content": {
145
240
  "application/problem+json": {
146
241
  "schema": {
147
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
242
+ "$ref": "#/components/schemas/ProblemDetails"
148
243
  }
149
244
  }
150
245
  }
@@ -178,6 +273,12 @@
178
273
  }
179
274
  }
180
275
  }
276
+ },
277
+ "204": {
278
+ "description": "No Content"
279
+ },
280
+ "403": {
281
+ "description": "Forbidden"
181
282
  }
182
283
  },
183
284
  "security": [
@@ -292,13 +393,12 @@
292
393
  }
293
394
  ],
294
395
  "responses": {
295
- "200": {
296
- "description": "Success",
396
+ "400": {
397
+ "description": "Validation error",
297
398
  "content": {
298
- "application/json": {
399
+ "application/problem+json": {
299
400
  "schema": {
300
- "type": "array",
301
- "items": {}
401
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
302
402
  }
303
403
  }
304
404
  }
@@ -313,19 +413,6 @@
313
413
  }
314
414
  }
315
415
  },
316
- "403": {
317
- "description": "Forbidden"
318
- },
319
- "400": {
320
- "description": "Validation error",
321
- "content": {
322
- "application/problem+json": {
323
- "schema": {
324
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
325
- }
326
- }
327
- }
328
- },
329
416
  "404": {
330
417
  "description": "Unable to find resource",
331
418
  "content": {
@@ -355,6 +442,20 @@
355
442
  }
356
443
  }
357
444
  }
445
+ },
446
+ "200": {
447
+ "description": "Success",
448
+ "content": {
449
+ "application/json": {
450
+ "schema": {
451
+ "type": "array",
452
+ "items": {}
453
+ }
454
+ }
455
+ }
456
+ },
457
+ "403": {
458
+ "description": "Forbidden"
358
459
  }
359
460
  },
360
461
  "security": [
@@ -469,13 +570,12 @@
469
570
  }
470
571
  ],
471
572
  "responses": {
472
- "200": {
473
- "description": "Success",
573
+ "400": {
574
+ "description": "Validation error",
474
575
  "content": {
475
- "application/json": {
576
+ "application/problem+json": {
476
577
  "schema": {
477
- "type": "array",
478
- "items": {}
578
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
479
579
  }
480
580
  }
481
581
  }
@@ -490,19 +590,6 @@
490
590
  }
491
591
  }
492
592
  },
493
- "403": {
494
- "description": "Forbidden"
495
- },
496
- "400": {
497
- "description": "Validation error",
498
- "content": {
499
- "application/problem+json": {
500
- "schema": {
501
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
502
- }
503
- }
504
- }
505
- },
506
593
  "404": {
507
594
  "description": "Unable to find resource",
508
595
  "content": {
@@ -532,6 +619,20 @@
532
619
  }
533
620
  }
534
621
  }
622
+ },
623
+ "200": {
624
+ "description": "Success",
625
+ "content": {
626
+ "application/json": {
627
+ "schema": {
628
+ "type": "array",
629
+ "items": {}
630
+ }
631
+ }
632
+ }
633
+ },
634
+ "403": {
635
+ "description": "Forbidden"
535
636
  }
536
637
  },
537
638
  "security": [
@@ -578,13 +679,12 @@
578
679
  }
579
680
  ],
580
681
  "responses": {
581
- "200": {
582
- "description": "Success",
682
+ "400": {
683
+ "description": "Validation error",
583
684
  "content": {
584
- "application/json": {
685
+ "application/problem+json": {
585
686
  "schema": {
586
- "type": "integer",
587
- "format": "int32"
687
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
588
688
  }
589
689
  }
590
690
  }
@@ -599,19 +699,6 @@
599
699
  }
600
700
  }
601
701
  },
602
- "403": {
603
- "description": "Forbidden"
604
- },
605
- "400": {
606
- "description": "Validation error",
607
- "content": {
608
- "application/problem+json": {
609
- "schema": {
610
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
611
- }
612
- }
613
- }
614
- },
615
702
  "404": {
616
703
  "description": "Unable to find resource",
617
704
  "content": {
@@ -641,6 +728,20 @@
641
728
  }
642
729
  }
643
730
  }
731
+ },
732
+ "200": {
733
+ "description": "Success",
734
+ "content": {
735
+ "application/json": {
736
+ "schema": {
737
+ "type": "integer",
738
+ "format": "int32"
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "403": {
744
+ "description": "Forbidden"
644
745
  }
645
746
  },
646
747
  "security": [
@@ -685,12 +786,12 @@
685
786
  "x-position": 1
686
787
  },
687
788
  "responses": {
688
- "200": {
689
- "description": "Success",
789
+ "400": {
790
+ "description": "Validation error",
690
791
  "content": {
691
- "application/json": {
792
+ "application/problem+json": {
692
793
  "schema": {
693
- "$ref": "#/components/schemas/SharedDataCreateAttachmentResponseDto"
794
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
694
795
  }
695
796
  }
696
797
  }
@@ -705,19 +806,6 @@
705
806
  }
706
807
  }
707
808
  },
708
- "403": {
709
- "description": "Forbidden"
710
- },
711
- "400": {
712
- "description": "Validation error",
713
- "content": {
714
- "application/problem+json": {
715
- "schema": {
716
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
717
- }
718
- }
719
- }
720
- },
721
809
  "404": {
722
810
  "description": "Unable to find resource",
723
811
  "content": {
@@ -747,6 +835,19 @@
747
835
  }
748
836
  }
749
837
  }
838
+ },
839
+ "200": {
840
+ "description": "Success",
841
+ "content": {
842
+ "application/json": {
843
+ "schema": {
844
+ "$ref": "#/components/schemas/SharedDataCreateAttachmentResponseDto"
845
+ }
846
+ }
847
+ }
848
+ },
849
+ "403": {
850
+ "description": "Forbidden"
750
851
  }
751
852
  },
752
853
  "security": [
@@ -785,28 +886,22 @@
785
886
  }
786
887
  ],
787
888
  "responses": {
788
- "204": {
789
- "description": "No Content"
790
- },
791
- "401": {
792
- "description": "Unauthorized",
889
+ "400": {
890
+ "description": "Validation error",
793
891
  "content": {
794
892
  "application/problem+json": {
795
893
  "schema": {
796
- "$ref": "#/components/schemas/ProblemDetails"
894
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
797
895
  }
798
896
  }
799
897
  }
800
898
  },
801
- "403": {
802
- "description": "Forbidden"
803
- },
804
- "400": {
805
- "description": "Validation error",
899
+ "401": {
900
+ "description": "Unauthorized",
806
901
  "content": {
807
902
  "application/problem+json": {
808
903
  "schema": {
809
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
904
+ "$ref": "#/components/schemas/ProblemDetails"
810
905
  }
811
906
  }
812
907
  }
@@ -840,6 +935,12 @@
840
935
  }
841
936
  }
842
937
  }
938
+ },
939
+ "204": {
940
+ "description": "No Content"
941
+ },
942
+ "403": {
943
+ "description": "Forbidden"
843
944
  }
844
945
  },
845
946
  "security": [
@@ -873,12 +974,12 @@
873
974
  "x-position": 1
874
975
  },
875
976
  "responses": {
876
- "200": {
877
- "description": "Success",
977
+ "400": {
978
+ "description": "Validation error",
878
979
  "content": {
879
- "application/json": {
980
+ "application/problem+json": {
880
981
  "schema": {
881
- "$ref": "#/components/schemas/ValidatedProfileDto"
982
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
882
983
  }
883
984
  }
884
985
  }
@@ -893,19 +994,6 @@
893
994
  }
894
995
  }
895
996
  },
896
- "403": {
897
- "description": "Forbidden"
898
- },
899
- "400": {
900
- "description": "Validation error",
901
- "content": {
902
- "application/problem+json": {
903
- "schema": {
904
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
905
- }
906
- }
907
- }
908
- },
909
997
  "404": {
910
998
  "description": "Unable to find resource",
911
999
  "content": {
@@ -935,6 +1023,19 @@
935
1023
  }
936
1024
  }
937
1025
  }
1026
+ },
1027
+ "200": {
1028
+ "description": "Success",
1029
+ "content": {
1030
+ "application/json": {
1031
+ "schema": {
1032
+ "$ref": "#/components/schemas/ValidatedProfileDto"
1033
+ }
1034
+ }
1035
+ }
1036
+ },
1037
+ "403": {
1038
+ "description": "Forbidden"
938
1039
  }
939
1040
  },
940
1041
  "security": [
@@ -970,12 +1071,12 @@
970
1071
  "required": true
971
1072
  },
972
1073
  "responses": {
973
- "200": {
974
- "description": "Success",
1074
+ "400": {
1075
+ "description": "Validation error",
975
1076
  "content": {
976
- "application/json": {
1077
+ "application/problem+json": {
977
1078
  "schema": {
978
- "$ref": "#/components/schemas/ProfileDto"
1079
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
979
1080
  }
980
1081
  }
981
1082
  }
@@ -990,19 +1091,6 @@
990
1091
  }
991
1092
  }
992
1093
  },
993
- "403": {
994
- "description": "Forbidden"
995
- },
996
- "400": {
997
- "description": "Validation error",
998
- "content": {
999
- "application/problem+json": {
1000
- "schema": {
1001
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1002
- }
1003
- }
1004
- }
1005
- },
1006
1094
  "404": {
1007
1095
  "description": "Unable to find resource",
1008
1096
  "content": {
@@ -1032,6 +1120,19 @@
1032
1120
  }
1033
1121
  }
1034
1122
  }
1123
+ },
1124
+ "200": {
1125
+ "description": "Success",
1126
+ "content": {
1127
+ "application/json": {
1128
+ "schema": {
1129
+ "$ref": "#/components/schemas/ProfileDto"
1130
+ }
1131
+ }
1132
+ }
1133
+ },
1134
+ "403": {
1135
+ "description": "Forbidden"
1035
1136
  }
1036
1137
  },
1037
1138
  "security": [
@@ -1050,15 +1151,12 @@
1050
1151
  "summary": "Get settings profile",
1051
1152
  "operationId": "GetProfilesEndpoint",
1052
1153
  "responses": {
1053
- "200": {
1054
- "description": "Success",
1154
+ "400": {
1155
+ "description": "Validation error",
1055
1156
  "content": {
1056
- "application/json": {
1157
+ "application/problem+json": {
1057
1158
  "schema": {
1058
- "type": "array",
1059
- "items": {
1060
- "$ref": "#/components/schemas/ProfileIdDto"
1061
- }
1159
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1062
1160
  }
1063
1161
  }
1064
1162
  }
@@ -1073,19 +1171,6 @@
1073
1171
  }
1074
1172
  }
1075
1173
  },
1076
- "403": {
1077
- "description": "Forbidden"
1078
- },
1079
- "400": {
1080
- "description": "Validation error",
1081
- "content": {
1082
- "application/problem+json": {
1083
- "schema": {
1084
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1085
- }
1086
- }
1087
- }
1088
- },
1089
1174
  "404": {
1090
1175
  "description": "Unable to find resource",
1091
1176
  "content": {
@@ -1109,12 +1194,28 @@
1109
1194
  "500": {
1110
1195
  "description": "Internal server error",
1111
1196
  "content": {
1112
- "application/problem+json": {
1197
+ "application/problem+json": {
1198
+ "schema": {
1199
+ "$ref": "#/components/schemas/ProblemDetails"
1200
+ }
1201
+ }
1202
+ }
1203
+ },
1204
+ "200": {
1205
+ "description": "Success",
1206
+ "content": {
1207
+ "application/json": {
1113
1208
  "schema": {
1114
- "$ref": "#/components/schemas/ProblemDetails"
1209
+ "type": "array",
1210
+ "items": {
1211
+ "$ref": "#/components/schemas/ProfileIdDto"
1212
+ }
1115
1213
  }
1116
1214
  }
1117
1215
  }
1216
+ },
1217
+ "403": {
1218
+ "description": "Forbidden"
1118
1219
  }
1119
1220
  },
1120
1221
  "security": [
@@ -1148,13 +1249,12 @@
1148
1249
  "x-position": 1
1149
1250
  },
1150
1251
  "responses": {
1151
- "200": {
1152
- "description": "Success",
1252
+ "400": {
1253
+ "description": "Validation error",
1153
1254
  "content": {
1154
- "application/json": {
1255
+ "application/problem+json": {
1155
1256
  "schema": {
1156
- "type": "array",
1157
- "items": {}
1257
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1158
1258
  }
1159
1259
  }
1160
1260
  }
@@ -1169,19 +1269,6 @@
1169
1269
  }
1170
1270
  }
1171
1271
  },
1172
- "403": {
1173
- "description": "Forbidden"
1174
- },
1175
- "400": {
1176
- "description": "Validation error",
1177
- "content": {
1178
- "application/problem+json": {
1179
- "schema": {
1180
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1181
- }
1182
- }
1183
- }
1184
- },
1185
1272
  "404": {
1186
1273
  "description": "Unable to find resource",
1187
1274
  "content": {
@@ -1211,6 +1298,20 @@
1211
1298
  }
1212
1299
  }
1213
1300
  }
1301
+ },
1302
+ "200": {
1303
+ "description": "Success",
1304
+ "content": {
1305
+ "application/json": {
1306
+ "schema": {
1307
+ "type": "array",
1308
+ "items": {}
1309
+ }
1310
+ }
1311
+ }
1312
+ },
1313
+ "403": {
1314
+ "description": "Forbidden"
1214
1315
  }
1215
1316
  },
1216
1317
  "security": [
@@ -1244,12 +1345,12 @@
1244
1345
  "x-position": 1
1245
1346
  },
1246
1347
  "responses": {
1247
- "200": {
1248
- "description": "Success",
1348
+ "400": {
1349
+ "description": "Validation error",
1249
1350
  "content": {
1250
- "application/json": {
1351
+ "application/problem+json": {
1251
1352
  "schema": {
1252
- "$ref": "#/components/schemas/ProfileDto"
1353
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1253
1354
  }
1254
1355
  }
1255
1356
  }
@@ -1264,19 +1365,6 @@
1264
1365
  }
1265
1366
  }
1266
1367
  },
1267
- "403": {
1268
- "description": "Forbidden"
1269
- },
1270
- "400": {
1271
- "description": "Validation error",
1272
- "content": {
1273
- "application/problem+json": {
1274
- "schema": {
1275
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1276
- }
1277
- }
1278
- }
1279
- },
1280
1368
  "404": {
1281
1369
  "description": "Unable to find resource",
1282
1370
  "content": {
@@ -1306,6 +1394,19 @@
1306
1394
  }
1307
1395
  }
1308
1396
  }
1397
+ },
1398
+ "200": {
1399
+ "description": "Success",
1400
+ "content": {
1401
+ "application/json": {
1402
+ "schema": {
1403
+ "$ref": "#/components/schemas/ProfileDto"
1404
+ }
1405
+ }
1406
+ }
1407
+ },
1408
+ "403": {
1409
+ "description": "Forbidden"
1309
1410
  }
1310
1411
  },
1311
1412
  "security": [
@@ -1324,12 +1425,12 @@
1324
1425
  "summary": "Get settings profile",
1325
1426
  "operationId": "GetProfileEndpoint",
1326
1427
  "responses": {
1327
- "200": {
1328
- "description": "Success",
1428
+ "400": {
1429
+ "description": "Validation error",
1329
1430
  "content": {
1330
- "application/json": {
1431
+ "application/problem+json": {
1331
1432
  "schema": {
1332
- "$ref": "#/components/schemas/ProfileDto"
1433
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1333
1434
  }
1334
1435
  }
1335
1436
  }
@@ -1344,19 +1445,6 @@
1344
1445
  }
1345
1446
  }
1346
1447
  },
1347
- "403": {
1348
- "description": "Forbidden"
1349
- },
1350
- "400": {
1351
- "description": "Validation error",
1352
- "content": {
1353
- "application/problem+json": {
1354
- "schema": {
1355
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1356
- }
1357
- }
1358
- }
1359
- },
1360
1448
  "404": {
1361
1449
  "description": "Unable to find resource",
1362
1450
  "content": {
@@ -1386,6 +1474,19 @@
1386
1474
  }
1387
1475
  }
1388
1476
  }
1477
+ },
1478
+ "200": {
1479
+ "description": "Success",
1480
+ "content": {
1481
+ "application/json": {
1482
+ "schema": {
1483
+ "$ref": "#/components/schemas/ProfileDto"
1484
+ }
1485
+ }
1486
+ }
1487
+ },
1488
+ "403": {
1489
+ "description": "Forbidden"
1389
1490
  }
1390
1491
  },
1391
1492
  "security": [
@@ -1406,12 +1507,12 @@
1406
1507
  "summary": "Get Entity Types",
1407
1508
  "operationId": "GetEntityTypesEndpoint",
1408
1509
  "responses": {
1409
- "200": {
1410
- "description": "Success",
1510
+ "400": {
1511
+ "description": "Validation error",
1411
1512
  "content": {
1412
- "application/json": {
1513
+ "application/problem+json": {
1413
1514
  "schema": {
1414
- "$ref": "#/components/schemas/GetEntityTypesDto"
1515
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1415
1516
  }
1416
1517
  }
1417
1518
  }
@@ -1426,19 +1527,6 @@
1426
1527
  }
1427
1528
  }
1428
1529
  },
1429
- "403": {
1430
- "description": "Forbidden"
1431
- },
1432
- "400": {
1433
- "description": "Validation error",
1434
- "content": {
1435
- "application/problem+json": {
1436
- "schema": {
1437
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1438
- }
1439
- }
1440
- }
1441
- },
1442
1530
  "404": {
1443
1531
  "description": "Unable to find resource",
1444
1532
  "content": {
@@ -1468,6 +1556,19 @@
1468
1556
  }
1469
1557
  }
1470
1558
  }
1559
+ },
1560
+ "200": {
1561
+ "description": "Success",
1562
+ "content": {
1563
+ "application/json": {
1564
+ "schema": {
1565
+ "$ref": "#/components/schemas/GetEntityTypesDto"
1566
+ }
1567
+ }
1568
+ }
1569
+ },
1570
+ "403": {
1571
+ "description": "Forbidden"
1471
1572
  }
1472
1573
  },
1473
1574
  "security": [
@@ -1501,12 +1602,12 @@
1501
1602
  "x-position": 1
1502
1603
  },
1503
1604
  "responses": {
1504
- "200": {
1505
- "description": "Success",
1605
+ "400": {
1606
+ "description": "Validation error",
1506
1607
  "content": {
1507
- "application/json": {
1608
+ "application/problem+json": {
1508
1609
  "schema": {
1509
- "$ref": "#/components/schemas/ProfileDto"
1610
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1510
1611
  }
1511
1612
  }
1512
1613
  }
@@ -1521,19 +1622,6 @@
1521
1622
  }
1522
1623
  }
1523
1624
  },
1524
- "403": {
1525
- "description": "Forbidden"
1526
- },
1527
- "400": {
1528
- "description": "Validation error",
1529
- "content": {
1530
- "application/problem+json": {
1531
- "schema": {
1532
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
1533
- }
1534
- }
1535
- }
1536
- },
1537
1625
  "404": {
1538
1626
  "description": "Unable to find resource",
1539
1627
  "content": {
@@ -1563,6 +1651,19 @@
1563
1651
  }
1564
1652
  }
1565
1653
  }
1654
+ },
1655
+ "200": {
1656
+ "description": "Success",
1657
+ "content": {
1658
+ "application/json": {
1659
+ "schema": {
1660
+ "$ref": "#/components/schemas/ProfileDto"
1661
+ }
1662
+ }
1663
+ }
1664
+ },
1665
+ "403": {
1666
+ "description": "Forbidden"
1566
1667
  }
1567
1668
  },
1568
1669
  "security": [
@@ -1578,6 +1679,33 @@
1578
1679
  },
1579
1680
  "components": {
1580
1681
  "schemas": {
1682
+ "HttpValidationProblemDetails": {
1683
+ "allOf": [
1684
+ {
1685
+ "$ref": "#/components/schemas/ProblemDetails"
1686
+ },
1687
+ {
1688
+ "type": "object",
1689
+ "additionalProperties": {
1690
+ "nullable": true
1691
+ },
1692
+ "required": [
1693
+ "errors"
1694
+ ],
1695
+ "properties": {
1696
+ "errors": {
1697
+ "type": "object",
1698
+ "additionalProperties": {
1699
+ "type": "array",
1700
+ "items": {
1701
+ "type": "string"
1702
+ }
1703
+ }
1704
+ }
1705
+ }
1706
+ }
1707
+ ]
1708
+ },
1581
1709
  "ProblemDetails": {
1582
1710
  "type": "object",
1583
1711
  "additionalProperties": {
@@ -1607,33 +1735,6 @@
1607
1735
  }
1608
1736
  }
1609
1737
  },
1610
- "HttpValidationProblemDetails": {
1611
- "allOf": [
1612
- {
1613
- "$ref": "#/components/schemas/ProblemDetails"
1614
- },
1615
- {
1616
- "type": "object",
1617
- "additionalProperties": {
1618
- "nullable": true
1619
- },
1620
- "required": [
1621
- "errors"
1622
- ],
1623
- "properties": {
1624
- "errors": {
1625
- "type": "object",
1626
- "additionalProperties": {
1627
- "type": "array",
1628
- "items": {
1629
- "type": "string"
1630
- }
1631
- }
1632
- }
1633
- }
1634
- }
1635
- ]
1636
- },
1637
1738
  "MentionsRequestDto": {
1638
1739
  "type": "object",
1639
1740
  "additionalProperties": false
@@ -1642,6 +1743,19 @@
1642
1743
  "type": "object",
1643
1744
  "additionalProperties": false
1644
1745
  },
1746
+ "SharedDataDeleteDto": {
1747
+ "type": "object",
1748
+ "additionalProperties": false,
1749
+ "required": [
1750
+ "id"
1751
+ ],
1752
+ "properties": {
1753
+ "id": {
1754
+ "type": "integer",
1755
+ "format": "int32"
1756
+ }
1757
+ }
1758
+ },
1645
1759
  "SharedDataCountRequestDto": {
1646
1760
  "type": "object",
1647
1761
  "additionalProperties": false
@@ -1865,7 +1979,6 @@
1865
1979
  "required": [
1866
1980
  "$type",
1867
1981
  "id",
1868
- "source",
1869
1982
  "target"
1870
1983
  ],
1871
1984
  "properties": {
@@ -1873,7 +1986,12 @@
1873
1986
  "type": "string"
1874
1987
  },
1875
1988
  "source": {
1876
- "$ref": "#/components/schemas/MappingFieldDefDto"
1989
+ "nullable": true,
1990
+ "oneOf": [
1991
+ {
1992
+ "$ref": "#/components/schemas/MappingFieldDefDto"
1993
+ }
1994
+ ]
1877
1995
  },
1878
1996
  "target": {
1879
1997
  "$ref": "#/components/schemas/MappingFieldDefDto"