fmea-api-mcp-server 1.1.41 → 1.1.42
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/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "list_10",
|
|
10
10
|
"summary": "List project summaries",
|
|
11
|
-
"description": "Returns paged project summaries. scope: 'my' (default, user's projects), 'division', 'all' (admin, all active). deleted=true returns
|
|
11
|
+
"description": "Returns paged project summaries. scope: 'my' (default, user's projects), 'division', 'all' (admin, all active). deleted=true returns trashed projects. Supports divisionId, search, fmeaType, status, sort, pagination.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"Project"
|
|
14
14
|
],
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
{
|
|
25
25
|
"name": "deleted",
|
|
26
26
|
"in": "query",
|
|
27
|
-
"description": "Deleted-only view
|
|
27
|
+
"description": "Deleted-only view",
|
|
28
28
|
"schema": {
|
|
29
29
|
"type": "boolean",
|
|
30
30
|
"default": false
|
|
@@ -1141,7 +1141,7 @@
|
|
|
1141
1141
|
"sequence": {
|
|
1142
1142
|
"type": "integer"
|
|
1143
1143
|
},
|
|
1144
|
-
"
|
|
1144
|
+
"sortOrder": {
|
|
1145
1145
|
"type": "integer"
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
@@ -1373,6 +1373,422 @@
|
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"path": "/api/v2/projects",
|
|
1379
|
+
"method": "POST",
|
|
1380
|
+
"operationId": "createProject",
|
|
1381
|
+
"summary": "Create a new project",
|
|
1382
|
+
"description": "Creates a new FMEA project with the provided details. Validates name uniqueness, member existence, and date ranges. Returns the created project summary.",
|
|
1383
|
+
"tags": [
|
|
1384
|
+
"Project"
|
|
1385
|
+
],
|
|
1386
|
+
"parameters": [],
|
|
1387
|
+
"requestBody": {
|
|
1388
|
+
"content": {
|
|
1389
|
+
"application/json": {
|
|
1390
|
+
"schema": {
|
|
1391
|
+
"required": [
|
|
1392
|
+
"approverId",
|
|
1393
|
+
"divisionId",
|
|
1394
|
+
"dueDate",
|
|
1395
|
+
"evaluationCriteria",
|
|
1396
|
+
"item",
|
|
1397
|
+
"leaderId",
|
|
1398
|
+
"memberIds",
|
|
1399
|
+
"name",
|
|
1400
|
+
"reviewerIds",
|
|
1401
|
+
"startDate",
|
|
1402
|
+
"type",
|
|
1403
|
+
"worksheetTemplateId"
|
|
1404
|
+
],
|
|
1405
|
+
"type": "object",
|
|
1406
|
+
"properties": {
|
|
1407
|
+
"name": {
|
|
1408
|
+
"type": "string"
|
|
1409
|
+
},
|
|
1410
|
+
"type": {
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"enum": [
|
|
1413
|
+
"DESIGN",
|
|
1414
|
+
"PROCESS",
|
|
1415
|
+
"EQUIPMENT",
|
|
1416
|
+
"FA",
|
|
1417
|
+
"FTA",
|
|
1418
|
+
"CPLAN"
|
|
1419
|
+
]
|
|
1420
|
+
},
|
|
1421
|
+
"master": {
|
|
1422
|
+
"type": "boolean"
|
|
1423
|
+
},
|
|
1424
|
+
"label": {
|
|
1425
|
+
"type": "boolean"
|
|
1426
|
+
},
|
|
1427
|
+
"item": {
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
},
|
|
1430
|
+
"model": {
|
|
1431
|
+
"type": "string"
|
|
1432
|
+
},
|
|
1433
|
+
"worksheetTemplateId": {
|
|
1434
|
+
"type": "integer",
|
|
1435
|
+
"format": "int32"
|
|
1436
|
+
},
|
|
1437
|
+
"evaluationCriteria": {
|
|
1438
|
+
"type": "string"
|
|
1439
|
+
},
|
|
1440
|
+
"startDate": {
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"format": "date"
|
|
1443
|
+
},
|
|
1444
|
+
"dueDate": {
|
|
1445
|
+
"type": "string",
|
|
1446
|
+
"format": "date"
|
|
1447
|
+
},
|
|
1448
|
+
"description": {
|
|
1449
|
+
"type": "string"
|
|
1450
|
+
},
|
|
1451
|
+
"divisionId": {
|
|
1452
|
+
"type": "integer",
|
|
1453
|
+
"format": "int32"
|
|
1454
|
+
},
|
|
1455
|
+
"leaderId": {
|
|
1456
|
+
"type": "string"
|
|
1457
|
+
},
|
|
1458
|
+
"memberIds": {
|
|
1459
|
+
"type": "array",
|
|
1460
|
+
"items": {
|
|
1461
|
+
"type": "string"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"reviewerIds": {
|
|
1465
|
+
"type": "array",
|
|
1466
|
+
"items": {
|
|
1467
|
+
"type": "string"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
"approverId": {
|
|
1471
|
+
"type": "string"
|
|
1472
|
+
},
|
|
1473
|
+
"completionReviewerId": {
|
|
1474
|
+
"type": "string"
|
|
1475
|
+
},
|
|
1476
|
+
"useApproval": {
|
|
1477
|
+
"type": "boolean"
|
|
1478
|
+
},
|
|
1479
|
+
"projectClass": {
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
},
|
|
1482
|
+
"causeAnalysisLevel": {
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"enum": [
|
|
1485
|
+
"FIRST",
|
|
1486
|
+
"SECOND"
|
|
1487
|
+
]
|
|
1488
|
+
},
|
|
1489
|
+
"relatedProjectIds": {
|
|
1490
|
+
"type": "array",
|
|
1491
|
+
"items": {
|
|
1492
|
+
"type": "string"
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
"responses": {
|
|
1501
|
+
"default": {
|
|
1502
|
+
"description": "default response",
|
|
1503
|
+
"content": {
|
|
1504
|
+
"application/json": {
|
|
1505
|
+
"schema": {
|
|
1506
|
+
"type": "object",
|
|
1507
|
+
"properties": {
|
|
1508
|
+
"id": {
|
|
1509
|
+
"type": "string"
|
|
1510
|
+
},
|
|
1511
|
+
"type": {
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"enum": [
|
|
1514
|
+
"DESIGN",
|
|
1515
|
+
"PROCESS",
|
|
1516
|
+
"EQUIPMENT",
|
|
1517
|
+
"FA",
|
|
1518
|
+
"FTA",
|
|
1519
|
+
"CPLAN"
|
|
1520
|
+
]
|
|
1521
|
+
},
|
|
1522
|
+
"master": {
|
|
1523
|
+
"type": "boolean"
|
|
1524
|
+
},
|
|
1525
|
+
"name": {
|
|
1526
|
+
"type": "string"
|
|
1527
|
+
},
|
|
1528
|
+
"item": {
|
|
1529
|
+
"type": "string"
|
|
1530
|
+
},
|
|
1531
|
+
"model": {
|
|
1532
|
+
"type": "string"
|
|
1533
|
+
},
|
|
1534
|
+
"description": {
|
|
1535
|
+
"type": "string"
|
|
1536
|
+
},
|
|
1537
|
+
"leaderName": {
|
|
1538
|
+
"type": "string"
|
|
1539
|
+
},
|
|
1540
|
+
"startDate": {
|
|
1541
|
+
"type": "string",
|
|
1542
|
+
"format": "date"
|
|
1543
|
+
},
|
|
1544
|
+
"dueDate": {
|
|
1545
|
+
"type": "string",
|
|
1546
|
+
"format": "date"
|
|
1547
|
+
},
|
|
1548
|
+
"status": {
|
|
1549
|
+
"type": "string",
|
|
1550
|
+
"enum": [
|
|
1551
|
+
"IN_PROGRESS",
|
|
1552
|
+
"REFUSED",
|
|
1553
|
+
"SELF_COMPLETED"
|
|
1554
|
+
]
|
|
1555
|
+
},
|
|
1556
|
+
"completedDate": {
|
|
1557
|
+
"type": "string",
|
|
1558
|
+
"format": "date"
|
|
1559
|
+
},
|
|
1560
|
+
"updateDueDate": {
|
|
1561
|
+
"type": "string",
|
|
1562
|
+
"format": "date"
|
|
1563
|
+
},
|
|
1564
|
+
"divisionName": {
|
|
1565
|
+
"type": "string"
|
|
1566
|
+
},
|
|
1567
|
+
"divisionScope": {
|
|
1568
|
+
"type": "string"
|
|
1569
|
+
},
|
|
1570
|
+
"worksheetTemplateName": {
|
|
1571
|
+
"type": "string"
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"path": "/api/v2/projects/{projectId}",
|
|
1582
|
+
"method": "PUT",
|
|
1583
|
+
"operationId": "updateProject",
|
|
1584
|
+
"summary": "Update project details",
|
|
1585
|
+
"description": "Updates an existing project's general information. Validates name uniqueness (excluding self), member existence, and date ranges. Returns the updated project summary.",
|
|
1586
|
+
"tags": [
|
|
1587
|
+
"Project"
|
|
1588
|
+
],
|
|
1589
|
+
"parameters": [
|
|
1590
|
+
{
|
|
1591
|
+
"name": "projectId",
|
|
1592
|
+
"in": "path",
|
|
1593
|
+
"description": "프로젝트 ID",
|
|
1594
|
+
"required": true,
|
|
1595
|
+
"schema": {
|
|
1596
|
+
"type": "string"
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"requestBody": {
|
|
1601
|
+
"content": {
|
|
1602
|
+
"application/json": {
|
|
1603
|
+
"schema": {
|
|
1604
|
+
"required": [
|
|
1605
|
+
"approverId",
|
|
1606
|
+
"divisionId",
|
|
1607
|
+
"dueDate",
|
|
1608
|
+
"evaluationCriteria",
|
|
1609
|
+
"item",
|
|
1610
|
+
"leaderId",
|
|
1611
|
+
"memberIds",
|
|
1612
|
+
"name",
|
|
1613
|
+
"reviewerIds",
|
|
1614
|
+
"startDate",
|
|
1615
|
+
"type",
|
|
1616
|
+
"worksheetTemplateId"
|
|
1617
|
+
],
|
|
1618
|
+
"type": "object",
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"name": {
|
|
1621
|
+
"type": "string"
|
|
1622
|
+
},
|
|
1623
|
+
"type": {
|
|
1624
|
+
"type": "string",
|
|
1625
|
+
"enum": [
|
|
1626
|
+
"DESIGN",
|
|
1627
|
+
"PROCESS",
|
|
1628
|
+
"EQUIPMENT",
|
|
1629
|
+
"FA",
|
|
1630
|
+
"FTA",
|
|
1631
|
+
"CPLAN"
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
"master": {
|
|
1635
|
+
"type": "boolean"
|
|
1636
|
+
},
|
|
1637
|
+
"label": {
|
|
1638
|
+
"type": "boolean"
|
|
1639
|
+
},
|
|
1640
|
+
"item": {
|
|
1641
|
+
"type": "string"
|
|
1642
|
+
},
|
|
1643
|
+
"model": {
|
|
1644
|
+
"type": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"worksheetTemplateId": {
|
|
1647
|
+
"type": "integer",
|
|
1648
|
+
"format": "int32"
|
|
1649
|
+
},
|
|
1650
|
+
"evaluationCriteria": {
|
|
1651
|
+
"type": "string"
|
|
1652
|
+
},
|
|
1653
|
+
"startDate": {
|
|
1654
|
+
"type": "string",
|
|
1655
|
+
"format": "date"
|
|
1656
|
+
},
|
|
1657
|
+
"dueDate": {
|
|
1658
|
+
"type": "string",
|
|
1659
|
+
"format": "date"
|
|
1660
|
+
},
|
|
1661
|
+
"description": {
|
|
1662
|
+
"type": "string"
|
|
1663
|
+
},
|
|
1664
|
+
"divisionId": {
|
|
1665
|
+
"type": "integer",
|
|
1666
|
+
"format": "int32"
|
|
1667
|
+
},
|
|
1668
|
+
"leaderId": {
|
|
1669
|
+
"type": "string"
|
|
1670
|
+
},
|
|
1671
|
+
"memberIds": {
|
|
1672
|
+
"type": "array",
|
|
1673
|
+
"items": {
|
|
1674
|
+
"type": "string"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
"reviewerIds": {
|
|
1678
|
+
"type": "array",
|
|
1679
|
+
"items": {
|
|
1680
|
+
"type": "string"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"approverId": {
|
|
1684
|
+
"type": "string"
|
|
1685
|
+
},
|
|
1686
|
+
"completionReviewerId": {
|
|
1687
|
+
"type": "string"
|
|
1688
|
+
},
|
|
1689
|
+
"useApproval": {
|
|
1690
|
+
"type": "boolean"
|
|
1691
|
+
},
|
|
1692
|
+
"projectClass": {
|
|
1693
|
+
"type": "string"
|
|
1694
|
+
},
|
|
1695
|
+
"causeAnalysisLevel": {
|
|
1696
|
+
"type": "string",
|
|
1697
|
+
"enum": [
|
|
1698
|
+
"FIRST",
|
|
1699
|
+
"SECOND"
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
"relatedProjectIds": {
|
|
1703
|
+
"type": "array",
|
|
1704
|
+
"items": {
|
|
1705
|
+
"type": "string"
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"responses": {
|
|
1714
|
+
"default": {
|
|
1715
|
+
"description": "default response",
|
|
1716
|
+
"content": {
|
|
1717
|
+
"application/json": {
|
|
1718
|
+
"schema": {
|
|
1719
|
+
"type": "object",
|
|
1720
|
+
"properties": {
|
|
1721
|
+
"id": {
|
|
1722
|
+
"type": "string"
|
|
1723
|
+
},
|
|
1724
|
+
"type": {
|
|
1725
|
+
"type": "string",
|
|
1726
|
+
"enum": [
|
|
1727
|
+
"DESIGN",
|
|
1728
|
+
"PROCESS",
|
|
1729
|
+
"EQUIPMENT",
|
|
1730
|
+
"FA",
|
|
1731
|
+
"FTA",
|
|
1732
|
+
"CPLAN"
|
|
1733
|
+
]
|
|
1734
|
+
},
|
|
1735
|
+
"master": {
|
|
1736
|
+
"type": "boolean"
|
|
1737
|
+
},
|
|
1738
|
+
"name": {
|
|
1739
|
+
"type": "string"
|
|
1740
|
+
},
|
|
1741
|
+
"item": {
|
|
1742
|
+
"type": "string"
|
|
1743
|
+
},
|
|
1744
|
+
"model": {
|
|
1745
|
+
"type": "string"
|
|
1746
|
+
},
|
|
1747
|
+
"description": {
|
|
1748
|
+
"type": "string"
|
|
1749
|
+
},
|
|
1750
|
+
"leaderName": {
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1753
|
+
"startDate": {
|
|
1754
|
+
"type": "string",
|
|
1755
|
+
"format": "date"
|
|
1756
|
+
},
|
|
1757
|
+
"dueDate": {
|
|
1758
|
+
"type": "string",
|
|
1759
|
+
"format": "date"
|
|
1760
|
+
},
|
|
1761
|
+
"status": {
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"enum": [
|
|
1764
|
+
"IN_PROGRESS",
|
|
1765
|
+
"REFUSED",
|
|
1766
|
+
"SELF_COMPLETED"
|
|
1767
|
+
]
|
|
1768
|
+
},
|
|
1769
|
+
"completedDate": {
|
|
1770
|
+
"type": "string",
|
|
1771
|
+
"format": "date"
|
|
1772
|
+
},
|
|
1773
|
+
"updateDueDate": {
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"format": "date"
|
|
1776
|
+
},
|
|
1777
|
+
"divisionName": {
|
|
1778
|
+
"type": "string"
|
|
1779
|
+
},
|
|
1780
|
+
"divisionScope": {
|
|
1781
|
+
"type": "string"
|
|
1782
|
+
},
|
|
1783
|
+
"worksheetTemplateName": {
|
|
1784
|
+
"type": "string"
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1376
1792
|
}
|
|
1377
1793
|
]
|
|
1378
1794
|
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"path": "/api/v2/template/action-status",
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "getAll_1",
|
|
10
|
-
"summary": "Get all action
|
|
11
|
-
"description": "
|
|
10
|
+
"summary": "Get all action statuses",
|
|
11
|
+
"description": "Returns all action status items. Used for populating action status dropdowns in worksheets.",
|
|
12
12
|
"tags": [],
|
|
13
13
|
"parameters": [],
|
|
14
14
|
"responses": {
|
|
@@ -39,17 +39,22 @@
|
|
|
39
39
|
"path": "/api/v2/template/action-status",
|
|
40
40
|
"method": "POST",
|
|
41
41
|
"operationId": "create_7",
|
|
42
|
-
"summary": "Create action status
|
|
43
|
-
"description": "Creates a new action status
|
|
42
|
+
"summary": "Create action status",
|
|
43
|
+
"description": "Creates a new action status. Returns 201 with Location header. Requires ADMIN role. Throws 409 if title already exists.",
|
|
44
44
|
"tags": [],
|
|
45
45
|
"parameters": [],
|
|
46
46
|
"requestBody": {
|
|
47
47
|
"content": {
|
|
48
|
-
"
|
|
48
|
+
"application/json": {
|
|
49
49
|
"schema": {
|
|
50
|
+
"required": [
|
|
51
|
+
"title"
|
|
52
|
+
],
|
|
50
53
|
"type": "object",
|
|
51
54
|
"properties": {
|
|
52
55
|
"title": {
|
|
56
|
+
"maxLength": 30,
|
|
57
|
+
"minLength": 0,
|
|
53
58
|
"type": "string"
|
|
54
59
|
}
|
|
55
60
|
}
|
|
@@ -70,13 +75,14 @@
|
|
|
70
75
|
"path": "/api/v2/template/action-status/{id}",
|
|
71
76
|
"method": "GET",
|
|
72
77
|
"operationId": "getById_1",
|
|
73
|
-
"summary": "Get action status
|
|
74
|
-
"description": "
|
|
78
|
+
"summary": "Get action status by ID",
|
|
79
|
+
"description": "Returns a single action status by ID. Returns 404 if not found.",
|
|
75
80
|
"tags": [],
|
|
76
81
|
"parameters": [
|
|
77
82
|
{
|
|
78
83
|
"name": "id",
|
|
79
84
|
"in": "path",
|
|
85
|
+
"description": "Unique ID of the action status",
|
|
80
86
|
"required": true,
|
|
81
87
|
"schema": {
|
|
82
88
|
"type": "string"
|
|
@@ -108,13 +114,14 @@
|
|
|
108
114
|
"path": "/api/v2/template/action-status/{id}",
|
|
109
115
|
"method": "PUT",
|
|
110
116
|
"operationId": "update_6",
|
|
111
|
-
"summary": "Update action status
|
|
112
|
-
"description": "Updates an existing action status
|
|
117
|
+
"summary": "Update action status",
|
|
118
|
+
"description": "Updates an existing action status title. Returns updated DTO. Requires ADMIN role. Throws 404 if not found, 409 if title conflicts.",
|
|
113
119
|
"tags": [],
|
|
114
120
|
"parameters": [
|
|
115
121
|
{
|
|
116
122
|
"name": "id",
|
|
117
123
|
"in": "path",
|
|
124
|
+
"description": "Unique ID of the action status to update",
|
|
118
125
|
"required": true,
|
|
119
126
|
"schema": {
|
|
120
127
|
"type": "string"
|
|
@@ -123,11 +130,16 @@
|
|
|
123
130
|
],
|
|
124
131
|
"requestBody": {
|
|
125
132
|
"content": {
|
|
126
|
-
"
|
|
133
|
+
"application/json": {
|
|
127
134
|
"schema": {
|
|
135
|
+
"required": [
|
|
136
|
+
"title"
|
|
137
|
+
],
|
|
128
138
|
"type": "object",
|
|
129
139
|
"properties": {
|
|
130
140
|
"title": {
|
|
141
|
+
"maxLength": 30,
|
|
142
|
+
"minLength": 0,
|
|
131
143
|
"type": "string"
|
|
132
144
|
}
|
|
133
145
|
}
|
|
@@ -148,13 +160,14 @@
|
|
|
148
160
|
"path": "/api/v2/template/action-status/{id}",
|
|
149
161
|
"method": "DELETE",
|
|
150
162
|
"operationId": "delete_6",
|
|
151
|
-
"summary": "Delete action status
|
|
152
|
-
"description": "
|
|
163
|
+
"summary": "Delete action status",
|
|
164
|
+
"description": "Deletes an action status by ID. Returns 204 No Content. Requires ADMIN role. Throws 404 if not found.",
|
|
153
165
|
"tags": [],
|
|
154
166
|
"parameters": [
|
|
155
167
|
{
|
|
156
168
|
"name": "id",
|
|
157
169
|
"in": "path",
|
|
170
|
+
"description": "Unique ID of the action status to delete",
|
|
158
171
|
"required": true,
|
|
159
172
|
"schema": {
|
|
160
173
|
"type": "string"
|