fmea-api-mcp-server 1.1.13 → 1.1.15

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.
@@ -3,6 +3,117 @@
3
3
  "version": "v2",
4
4
  "description": "Project management related API",
5
5
  "endpoints": [
6
+ {
7
+ "path": "/api/v2/projects",
8
+ "method": "GET",
9
+ "operationId": "list_8",
10
+ "summary": "List project summaries",
11
+ "description": "If divisionId is provided, returns division-scoped projects. Otherwise returns accessible projects.",
12
+ "tags": [
13
+ "Project"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "divisionId",
18
+ "in": "query",
19
+ "description": "Division ID",
20
+ "schema": {
21
+ "type": "integer",
22
+ "format": "int32"
23
+ }
24
+ },
25
+ {
26
+ "name": "includeRelated",
27
+ "in": "query",
28
+ "description": "Whether to include mapped related divisions when divisionId is provided",
29
+ "schema": {
30
+ "type": "boolean"
31
+ }
32
+ }
33
+ ],
34
+ "responses": {
35
+ "default": {
36
+ "description": "default response",
37
+ "content": {
38
+ "application/json": {
39
+ "schema": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "object",
43
+ "properties": {
44
+ "id": {
45
+ "type": "string"
46
+ },
47
+ "type": {
48
+ "type": "string",
49
+ "enum": [
50
+ "DESIGN",
51
+ "PROCESS",
52
+ "EQUIPMENT",
53
+ "FA",
54
+ "FTA",
55
+ "CPLAN"
56
+ ]
57
+ },
58
+ "master": {
59
+ "type": "boolean"
60
+ },
61
+ "name": {
62
+ "type": "string"
63
+ },
64
+ "item": {
65
+ "type": "string"
66
+ },
67
+ "model": {
68
+ "type": "string"
69
+ },
70
+ "description": {
71
+ "type": "string"
72
+ },
73
+ "leaderName": {
74
+ "type": "string"
75
+ },
76
+ "startDate": {
77
+ "type": "string",
78
+ "format": "date"
79
+ },
80
+ "dueDate": {
81
+ "type": "string",
82
+ "format": "date"
83
+ },
84
+ "status": {
85
+ "type": "string",
86
+ "enum": [
87
+ "IN_PROGRESS",
88
+ "REFUSED",
89
+ "SELF_COMPLETED"
90
+ ]
91
+ },
92
+ "completedDate": {
93
+ "type": "string",
94
+ "format": "date"
95
+ },
96
+ "updateDueDate": {
97
+ "type": "string",
98
+ "format": "date"
99
+ },
100
+ "divisionName": {
101
+ "type": "string"
102
+ },
103
+ "divisionScope": {
104
+ "type": "string"
105
+ },
106
+ "worksheetTemplateName": {
107
+ "type": "string"
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ },
6
117
  {
7
118
  "path": "/api/v2/projects/{projectId}",
8
119
  "method": "GET",
@@ -14,6 +125,7 @@
14
125
  {
15
126
  "name": "projectId",
16
127
  "in": "path",
128
+ "description": "Project ID to retrieve",
17
129
  "required": true,
18
130
  "schema": {
19
131
  "type": "string"
@@ -24,7 +136,156 @@
24
136
  "default": {
25
137
  "description": "default response",
26
138
  "content": {
27
- "application/json": {}
139
+ "application/json": {
140
+ "schema": {
141
+ "type": "object",
142
+ "properties": {
143
+ "id": {
144
+ "type": "string"
145
+ },
146
+ "name": {
147
+ "type": "string"
148
+ },
149
+ "type": {
150
+ "type": "string",
151
+ "enum": [
152
+ "DESIGN",
153
+ "PROCESS",
154
+ "EQUIPMENT",
155
+ "FA",
156
+ "FTA",
157
+ "CPLAN"
158
+ ]
159
+ },
160
+ "master": {
161
+ "type": "boolean"
162
+ },
163
+ "label": {
164
+ "type": "boolean"
165
+ },
166
+ "active": {
167
+ "type": "boolean"
168
+ },
169
+ "projectClass": {
170
+ "type": "string"
171
+ },
172
+ "systemFunction": {
173
+ "type": "string"
174
+ },
175
+ "systemRequirement": {
176
+ "type": "string"
177
+ },
178
+ "item": {
179
+ "type": "string"
180
+ },
181
+ "model": {
182
+ "type": "string"
183
+ },
184
+ "startDate": {
185
+ "type": "string",
186
+ "format": "date"
187
+ },
188
+ "dueDate": {
189
+ "type": "string",
190
+ "format": "date"
191
+ },
192
+ "completedDate": {
193
+ "type": "string",
194
+ "format": "date"
195
+ },
196
+ "updateDueDate": {
197
+ "type": "string",
198
+ "format": "date"
199
+ },
200
+ "evaluationCriteria": {
201
+ "type": "string"
202
+ },
203
+ "description": {
204
+ "type": "string"
205
+ },
206
+ "members": {
207
+ "type": "array",
208
+ "items": {
209
+ "type": "object",
210
+ "properties": {
211
+ "user": {
212
+ "type": "object",
213
+ "properties": {
214
+ "id": {
215
+ "type": "string"
216
+ },
217
+ "name": {
218
+ "type": "string"
219
+ },
220
+ "email": {
221
+ "type": "string"
222
+ },
223
+ "department": {
224
+ "type": "string"
225
+ },
226
+ "division": {
227
+ "type": "object",
228
+ "properties": {
229
+ "id": {
230
+ "type": "integer"
231
+ },
232
+ "no": {
233
+ "type": "integer"
234
+ },
235
+ "name": {
236
+ "type": "string"
237
+ },
238
+ "code": {
239
+ "type": "string"
240
+ },
241
+ "relatedDivisions": {
242
+ "type": "array",
243
+ "items": {
244
+ "type": "object",
245
+ "description": "(circular: DivisionDTO)"
246
+ }
247
+ }
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "role": {
253
+ "type": "string",
254
+ "enum": [
255
+ "LEADER",
256
+ "MEMBER",
257
+ "REVIEWER",
258
+ "APPROVAL",
259
+ "COMPLETION_REVIEWER",
260
+ "NONE"
261
+ ]
262
+ }
263
+ }
264
+ }
265
+ },
266
+ "useApproval": {
267
+ "type": "boolean"
268
+ },
269
+ "score": {
270
+ "type": "integer"
271
+ },
272
+ "status": {
273
+ "type": "string",
274
+ "enum": [
275
+ "IN_PROGRESS",
276
+ "REFUSED",
277
+ "SELF_COMPLETED"
278
+ ]
279
+ },
280
+ "divisionId": {
281
+ "type": "integer"
282
+ },
283
+ "worksheetTemplateId": {
284
+ "type": "integer"
285
+ }
286
+ }
287
+ }
288
+ }
28
289
  }
29
290
  }
30
291
  }
@@ -36,12 +297,178 @@
36
297
  "summary": "List accessible projects",
37
298
  "description": "Retrieves a summary list of all projects accessible to the current user, including projects they own or are a member of. Returns lightweight project summaries suitable for dashboard views, project selectors, or navigation menus. Filtered by user's authentication context and permissions.",
38
299
  "tags": [],
39
- "parameters": [],
300
+ "parameters": [
301
+ {
302
+ "name": "search",
303
+ "in": "query",
304
+ "description": "Unified keyword (project, title, model, item)",
305
+ "schema": {
306
+ "type": "string"
307
+ }
308
+ },
309
+ {
310
+ "name": "fmeaType",
311
+ "in": "query",
312
+ "description": "FMEA type filter (DESIGN, PROCESS, EQUIPMENT, FA, FTA, CPLAN)",
313
+ "schema": {
314
+ "type": "string",
315
+ "enum": [
316
+ "Design",
317
+ "Process",
318
+ "Equipment",
319
+ "FA",
320
+ "FTA",
321
+ "CPlan"
322
+ ]
323
+ }
324
+ },
325
+ {
326
+ "name": "status",
327
+ "in": "query",
328
+ "description": "Project status filter",
329
+ "schema": {
330
+ "type": "string",
331
+ "enum": [
332
+ "IN_PROGRESS",
333
+ "REFUSED",
334
+ "SELF_COMPLETED",
335
+ "REVIEW",
336
+ "APPROVE",
337
+ "SCORE",
338
+ "COMPLETED",
339
+ "ASK_MODIFY_REVIEW",
340
+ "ASK_MODIFY_APPROVE",
341
+ "DELAY",
342
+ "NA"
343
+ ]
344
+ }
345
+ },
346
+ {
347
+ "name": "sort",
348
+ "in": "query",
349
+ "description": "Sort format: (project|name|type|status):(asc|desc)",
350
+ "schema": {
351
+ "type": "string"
352
+ }
353
+ },
354
+ {
355
+ "name": "page",
356
+ "in": "query",
357
+ "description": "Page number (starts from 1)",
358
+ "schema": {
359
+ "type": "integer",
360
+ "format": "int32",
361
+ "default": 1
362
+ }
363
+ },
364
+ {
365
+ "name": "size",
366
+ "in": "query",
367
+ "description": "Page size (max 100)",
368
+ "schema": {
369
+ "type": "integer",
370
+ "format": "int32",
371
+ "default": 20
372
+ }
373
+ }
374
+ ],
40
375
  "responses": {
41
376
  "default": {
42
377
  "description": "default response",
43
378
  "content": {
44
- "application/json": {}
379
+ "application/json": {
380
+ "schema": {
381
+ "type": "object",
382
+ "properties": {
383
+ "items": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "object",
387
+ "properties": {
388
+ "id": {
389
+ "type": "string"
390
+ },
391
+ "type": {
392
+ "type": "string",
393
+ "enum": [
394
+ "DESIGN",
395
+ "PROCESS",
396
+ "EQUIPMENT",
397
+ "FA",
398
+ "FTA",
399
+ "CPLAN"
400
+ ]
401
+ },
402
+ "master": {
403
+ "type": "boolean"
404
+ },
405
+ "name": {
406
+ "type": "string"
407
+ },
408
+ "item": {
409
+ "type": "string"
410
+ },
411
+ "model": {
412
+ "type": "string"
413
+ },
414
+ "description": {
415
+ "type": "string"
416
+ },
417
+ "leaderName": {
418
+ "type": "string"
419
+ },
420
+ "startDate": {
421
+ "type": "string",
422
+ "format": "date"
423
+ },
424
+ "dueDate": {
425
+ "type": "string",
426
+ "format": "date"
427
+ },
428
+ "status": {
429
+ "type": "string",
430
+ "enum": [
431
+ "IN_PROGRESS",
432
+ "REFUSED",
433
+ "SELF_COMPLETED"
434
+ ]
435
+ },
436
+ "completedDate": {
437
+ "type": "string",
438
+ "format": "date"
439
+ },
440
+ "updateDueDate": {
441
+ "type": "string",
442
+ "format": "date"
443
+ },
444
+ "divisionName": {
445
+ "type": "string"
446
+ },
447
+ "divisionScope": {
448
+ "type": "string"
449
+ },
450
+ "worksheetTemplateName": {
451
+ "type": "string"
452
+ }
453
+ }
454
+ }
455
+ },
456
+ "page": {
457
+ "type": "integer"
458
+ },
459
+ "size": {
460
+ "type": "integer"
461
+ },
462
+ "totalElements": {
463
+ "type": "integer",
464
+ "format": "int64"
465
+ },
466
+ "totalPages": {
467
+ "type": "integer"
468
+ }
469
+ }
470
+ }
471
+ }
45
472
  }
46
473
  }
47
474
  }
@@ -67,7 +494,78 @@
67
494
  "default": {
68
495
  "description": "default response",
69
496
  "content": {
70
- "application/json": {}
497
+ "application/json": {
498
+ "schema": {
499
+ "type": "object",
500
+ "properties": {
501
+ "id": {
502
+ "type": "string"
503
+ },
504
+ "type": {
505
+ "type": "string",
506
+ "enum": [
507
+ "DESIGN",
508
+ "PROCESS",
509
+ "EQUIPMENT",
510
+ "FA",
511
+ "FTA",
512
+ "CPLAN"
513
+ ]
514
+ },
515
+ "master": {
516
+ "type": "boolean"
517
+ },
518
+ "name": {
519
+ "type": "string"
520
+ },
521
+ "item": {
522
+ "type": "string"
523
+ },
524
+ "model": {
525
+ "type": "string"
526
+ },
527
+ "description": {
528
+ "type": "string"
529
+ },
530
+ "leaderName": {
531
+ "type": "string"
532
+ },
533
+ "startDate": {
534
+ "type": "string",
535
+ "format": "date"
536
+ },
537
+ "dueDate": {
538
+ "type": "string",
539
+ "format": "date"
540
+ },
541
+ "status": {
542
+ "type": "string",
543
+ "enum": [
544
+ "IN_PROGRESS",
545
+ "REFUSED",
546
+ "SELF_COMPLETED"
547
+ ]
548
+ },
549
+ "completedDate": {
550
+ "type": "string",
551
+ "format": "date"
552
+ },
553
+ "updateDueDate": {
554
+ "type": "string",
555
+ "format": "date"
556
+ },
557
+ "divisionName": {
558
+ "type": "string"
559
+ },
560
+ "divisionScope": {
561
+ "type": "string"
562
+ },
563
+ "worksheetTemplateName": {
564
+ "type": "string"
565
+ }
566
+ }
567
+ }
568
+ }
71
569
  }
72
570
  }
73
571
  }
@@ -93,7 +591,68 @@
93
591
  "default": {
94
592
  "description": "default response",
95
593
  "content": {
96
- "application/json": {}
594
+ "application/json": {
595
+ "schema": {
596
+ "type": "array",
597
+ "items": {
598
+ "type": "object",
599
+ "properties": {
600
+ "user": {
601
+ "type": "object",
602
+ "properties": {
603
+ "id": {
604
+ "type": "string"
605
+ },
606
+ "name": {
607
+ "type": "string"
608
+ },
609
+ "email": {
610
+ "type": "string"
611
+ },
612
+ "department": {
613
+ "type": "string"
614
+ },
615
+ "division": {
616
+ "type": "object",
617
+ "properties": {
618
+ "id": {
619
+ "type": "integer"
620
+ },
621
+ "no": {
622
+ "type": "integer"
623
+ },
624
+ "name": {
625
+ "type": "string"
626
+ },
627
+ "code": {
628
+ "type": "string"
629
+ },
630
+ "relatedDivisions": {
631
+ "type": "array",
632
+ "items": {
633
+ "type": "object",
634
+ "description": "(circular: DivisionDTO)"
635
+ }
636
+ }
637
+ }
638
+ }
639
+ }
640
+ },
641
+ "role": {
642
+ "type": "string",
643
+ "enum": [
644
+ "LEADER",
645
+ "MEMBER",
646
+ "REVIEWER",
647
+ "APPROVAL",
648
+ "COMPLETION_REVIEWER",
649
+ "NONE"
650
+ ]
651
+ }
652
+ }
653
+ }
654
+ }
655
+ }
97
656
  }
98
657
  }
99
658
  }
@@ -119,7 +678,139 @@
119
678
  "default": {
120
679
  "description": "default response",
121
680
  "content": {
122
- "application/json": {}
681
+ "application/json": {
682
+ "schema": {
683
+ "type": "array",
684
+ "items": {
685
+ "type": "object",
686
+ "properties": {
687
+ "requestId": {
688
+ "type": "integer"
689
+ },
690
+ "projectId": {
691
+ "type": "string"
692
+ },
693
+ "user": {
694
+ "type": "object",
695
+ "properties": {
696
+ "id": {
697
+ "type": "string"
698
+ },
699
+ "name": {
700
+ "type": "string"
701
+ },
702
+ "email": {
703
+ "type": "string"
704
+ },
705
+ "department": {
706
+ "type": "string"
707
+ },
708
+ "division": {
709
+ "type": "object",
710
+ "properties": {
711
+ "id": {
712
+ "type": "integer"
713
+ },
714
+ "no": {
715
+ "type": "integer"
716
+ },
717
+ "name": {
718
+ "type": "string"
719
+ },
720
+ "code": {
721
+ "type": "string"
722
+ },
723
+ "relatedDivisions": {
724
+ "type": "array",
725
+ "items": {
726
+ "type": "object",
727
+ "description": "(circular: DivisionDTO)"
728
+ }
729
+ }
730
+ }
731
+ }
732
+ }
733
+ },
734
+ "createdAt": {
735
+ "type": "string",
736
+ "format": "date-time"
737
+ },
738
+ "updatedAt": {
739
+ "type": "string",
740
+ "format": "date-time"
741
+ },
742
+ "status": {
743
+ "type": "string",
744
+ "enum": [
745
+ "PENDING",
746
+ "APPROVED",
747
+ "REJECTED"
748
+ ]
749
+ },
750
+ "revisions": {
751
+ "type": "array",
752
+ "items": {
753
+ "type": "object",
754
+ "properties": {
755
+ "id": {
756
+ "type": "integer"
757
+ },
758
+ "menuCode": {
759
+ "type": "string",
760
+ "enum": [
761
+ "PROJECT",
762
+ "BLOCK",
763
+ "FMM",
764
+ "WORKSHEET",
765
+ "ATTACHED_FILE",
766
+ "WORKSHEET_UNIT",
767
+ "CONTROL_PLAN"
768
+ ]
769
+ },
770
+ "actionCode": {
771
+ "type": "string",
772
+ "enum": [
773
+ "F",
774
+ "W",
775
+ "F",
776
+ "W"
777
+ ]
778
+ },
779
+ "projectId": {
780
+ "type": "string"
781
+ },
782
+ "userId": {
783
+ "type": "string"
784
+ },
785
+ "userName": {
786
+ "type": "string"
787
+ },
788
+ "reportNo": {
789
+ "type": "string"
790
+ },
791
+ "refId": {
792
+ "type": "string"
793
+ },
794
+ "updatedDateTime": {
795
+ "type": "string",
796
+ "format": "date-time"
797
+ },
798
+ "description": {
799
+ "type": "string"
800
+ },
801
+ "updatingStatus": {
802
+ "type": "integer"
803
+ },
804
+ "revisionNumber": {
805
+ "type": "integer"
806
+ }
807
+ }
808
+ }
809
+ }
810
+ }
811
+ }
812
+ }
813
+ }
123
814
  }
124
815
  }
125
816
  }
@@ -244,7 +935,7 @@
244
935
  {
245
936
  "path": "/api/v2/projects/{projectId}/high-items",
246
937
  "method": "GET",
247
- "operationId": "list_8",
938
+ "operationId": "list_11",
248
939
  "summary": "Retrieve high-priority items",
249
940
  "description": "Fetches high-priority items flagged within a project for focused attention and risk management. Use this endpoint to identify critical items requiring immediate review, action, or analysis. Returns prioritized items based on risk scores, severity ratings, or other project-specific criteria.",
250
941
  "tags": [],