fmea-api-mcp-server 1.1.13 → 1.1.14

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.
@@ -31,10 +31,10 @@
31
31
  }
32
32
  },
33
33
  {
34
- "path": "/api/v2/system/health-check",
34
+ "path": "/api/v2/system/context-version",
35
35
  "method": "GET",
36
- "summary": "Check system health and version",
37
- "description": "Performs health verification by reading the VERSION file from the specified webapp context path. Essential for deployment monitoring, system diagnostics, and version tracking. Requires 'contextPath' query parameter identifying the webapp subdirectory (e.g., 'fmea', 'api'). Returns version information including build number and compilation date if VERSION file exists and is readable. Use for service discovery, deployment verification, or troubleshooting environment-specific issues. Returns 404 if VERSION file is missing or unreadable, 400 if contextPath is not provided.",
36
+ "summary": "Get Context Version",
37
+ "description": "Fetches the current application version, deployment semantic tag, and build metadata associated with the specific API context path. Historically replaces legacy health-check endpoints. Use this modern endpoint to verify proper API deployment, check version compatibility before complex operations, or display software version in the UI footer. (Check Version / Get Release Tag / Context Information / API Revision).",
38
38
  "tags": [],
39
39
  "operationId": "checkContext",
40
40
  "parameters": [
@@ -56,6 +56,24 @@
56
56
  }
57
57
  }
58
58
  }
59
+ },
60
+ {
61
+ "path": "/api/v2/system/health",
62
+ "method": "GET",
63
+ "summary": "System Health",
64
+ "description": "Performs a lightweight diagnostic check and retrieves the basic operational health status of the FMEA system. Use this endpoint for load balancer pinging, uptime monitoring services (e.g., Datadog, Pingdom), or ensuring backend connectivity before user authentication. Returns a simple success payload if the core services and database connections are operational. (Health Check / System Status / Ping API / Service Heartbeat).",
65
+ "tags": [],
66
+ "operationId": "health",
67
+ "parameters": [],
68
+ "requestBody": null,
69
+ "responses": {
70
+ "default": {
71
+ "description": "default response",
72
+ "content": {
73
+ "application/json": {}
74
+ }
75
+ }
76
+ }
59
77
  }
60
78
  ]
61
79
  }
@@ -15,7 +15,22 @@
15
15
  "default": {
16
16
  "description": "default response",
17
17
  "content": {
18
- "application/json": {}
18
+ "application/json": {
19
+ "schema": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "object",
23
+ "properties": {
24
+ "id": {
25
+ "type": "integer"
26
+ },
27
+ "title": {
28
+ "type": "string"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
19
34
  }
20
35
  }
21
36
  }
@@ -23,7 +38,7 @@
23
38
  {
24
39
  "path": "/api/v2/template/action-status",
25
40
  "method": "POST",
26
- "operationId": "create_3",
41
+ "operationId": "create_4",
27
42
  "summary": "Create action status template",
28
43
  "description": "Creates a new action status template with a custom title. This endpoint is used to define additional states for improvement actions beyond the default options (e.g., 'Under Review', 'On Hold', 'Cancelled'). Requires ADMIN user level privileges. The request body must contain a 'title' field specifying the status name. Upon successful creation, returns the location URI of the new resource. Use this endpoint when you need to extend the available action status options for your organization's workflow. Synonyms: add action status, create new action state, define status template, add status option.",
29
44
  "tags": [],
@@ -27,7 +27,42 @@
27
27
  "default": {
28
28
  "description": "default response",
29
29
  "content": {
30
- "application/json": {}
30
+ "application/json": {
31
+ "schema": {
32
+ "type": "object",
33
+ "properties": {
34
+ "id": {
35
+ "type": "string"
36
+ },
37
+ "name": {
38
+ "type": "string"
39
+ },
40
+ "email": {
41
+ "type": "string"
42
+ },
43
+ "department": {
44
+ "type": "string"
45
+ },
46
+ "division": {
47
+ "type": "object",
48
+ "properties": {
49
+ "id": {
50
+ "type": "integer"
51
+ },
52
+ "no": {
53
+ "type": "integer"
54
+ },
55
+ "name": {
56
+ "type": "string"
57
+ },
58
+ "code": {
59
+ "type": "string"
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
31
66
  }
32
67
  }
33
68
  }
@@ -56,7 +91,132 @@
56
91
  "default": {
57
92
  "description": "default response",
58
93
  "content": {
59
- "application/json": {}
94
+ "application/json": {
95
+ "schema": {
96
+ "type": "array",
97
+ "items": {
98
+ "type": "object",
99
+ "properties": {
100
+ "requestId": {
101
+ "type": "integer"
102
+ },
103
+ "projectId": {
104
+ "type": "string"
105
+ },
106
+ "user": {
107
+ "type": "object",
108
+ "properties": {
109
+ "id": {
110
+ "type": "string"
111
+ },
112
+ "name": {
113
+ "type": "string"
114
+ },
115
+ "email": {
116
+ "type": "string"
117
+ },
118
+ "department": {
119
+ "type": "string"
120
+ },
121
+ "division": {
122
+ "type": "object",
123
+ "properties": {
124
+ "id": {
125
+ "type": "integer"
126
+ },
127
+ "no": {
128
+ "type": "integer"
129
+ },
130
+ "name": {
131
+ "type": "string"
132
+ },
133
+ "code": {
134
+ "type": "string"
135
+ }
136
+ }
137
+ }
138
+ }
139
+ },
140
+ "createdAt": {
141
+ "type": "string",
142
+ "format": "date-time"
143
+ },
144
+ "updatedAt": {
145
+ "type": "string",
146
+ "format": "date-time"
147
+ },
148
+ "status": {
149
+ "type": "string",
150
+ "enum": [
151
+ "PENDING",
152
+ "APPROVED",
153
+ "REJECTED"
154
+ ]
155
+ },
156
+ "revisions": {
157
+ "type": "array",
158
+ "items": {
159
+ "type": "object",
160
+ "properties": {
161
+ "id": {
162
+ "type": "integer"
163
+ },
164
+ "menuCode": {
165
+ "type": "string",
166
+ "enum": [
167
+ "PROJECT",
168
+ "BLOCK",
169
+ "FMM",
170
+ "WORKSHEET",
171
+ "ATTACHED_FILE",
172
+ "WORKSHEET_UNIT",
173
+ "CONTROL_PLAN"
174
+ ]
175
+ },
176
+ "actionCode": {
177
+ "type": "string",
178
+ "enum": [
179
+ "F",
180
+ "W",
181
+ "F",
182
+ "W"
183
+ ]
184
+ },
185
+ "projectId": {
186
+ "type": "string"
187
+ },
188
+ "userId": {
189
+ "type": "string"
190
+ },
191
+ "userName": {
192
+ "type": "string"
193
+ },
194
+ "reportNo": {
195
+ "type": "string"
196
+ },
197
+ "refId": {
198
+ "type": "string"
199
+ },
200
+ "updatedDateTime": {
201
+ "type": "string",
202
+ "format": "date-time"
203
+ },
204
+ "description": {
205
+ "type": "string"
206
+ },
207
+ "updatingStatus": {
208
+ "type": "integer"
209
+ },
210
+ "revisionNumber": {
211
+ "type": "integer"
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
60
220
  }
61
221
  }
62
222
  }
@@ -24,7 +24,15 @@
24
24
  "default": {
25
25
  "description": "default response",
26
26
  "content": {
27
- "application/json": {}
27
+ "application/json": {
28
+ "schema": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string",
32
+ "description": "(unresolved: WorksheetSummaryDTO)"
33
+ }
34
+ }
35
+ }
28
36
  }
29
37
  }
30
38
  }
@@ -62,7 +70,7 @@
62
70
  }
63
71
  }
64
72
  },
65
- "operationId": "create_4"
73
+ "operationId": "create_5"
66
74
  },
67
75
  {
68
76
  "path": "/api/v2/projects/{projectId}/worksheets/{reportNoSimple}",
@@ -93,7 +101,12 @@
93
101
  "default": {
94
102
  "description": "default response",
95
103
  "content": {
96
- "application/json": {}
104
+ "application/json": {
105
+ "schema": {
106
+ "type": "string",
107
+ "description": "(unresolved: WorksheetDTO)"
108
+ }
109
+ }
97
110
  }
98
111
  }
99
112
  }
@@ -120,7 +120,19 @@
120
120
  "default": {
121
121
  "description": "default response",
122
122
  "content": {
123
- "*/*": {}
123
+ "application/json": {
124
+ "schema": {
125
+ "type": "object",
126
+ "properties": {
127
+ "fileName": {
128
+ "type": "string"
129
+ },
130
+ "downloadUri": {
131
+ "type": "string"
132
+ }
133
+ }
134
+ }
135
+ }
124
136
  }
125
137
  }
126
138
  }
@@ -155,7 +167,55 @@
155
167
  "default": {
156
168
  "description": "default response",
157
169
  "content": {
158
- "*/*": {}
170
+ "application/json": {
171
+ "schema": {
172
+ "type": "string",
173
+ "description": "(unresolved: WorksheetExcelMetaDTO)"
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ },
180
+ {
181
+ "path": "/api/v2/projects/{projectId}/worksheet-excel/{reportNoSimple}/sheets",
182
+ "method": "GET",
183
+ "summary": "Get Excel Sheets List",
184
+ "description": "Fetches a complete list of available Excel worksheets/tabs associated with a specific previously generated or uploaded Excel report. Ideal for previewing workbook structure, selecting specific sheets for analysis, or retrieving metadata before detailed extraction. (List sheets / View Excel tabs / Get available worksheets).",
185
+ "tags": [],
186
+ "operationId": "getSheets",
187
+ "parameters": [
188
+ {
189
+ "name": "projectId",
190
+ "in": "path",
191
+ "required": true,
192
+ "schema": {
193
+ "type": "string"
194
+ }
195
+ },
196
+ {
197
+ "name": "reportNoSimple",
198
+ "in": "path",
199
+ "required": true,
200
+ "schema": {
201
+ "type": "string"
202
+ }
203
+ }
204
+ ],
205
+ "requestBody": null,
206
+ "responses": {
207
+ "default": {
208
+ "description": "default response",
209
+ "content": {
210
+ "application/json": {
211
+ "schema": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "string",
215
+ "description": "(file not found: com.gdnps.fmea.poisheet.model.POISheet)"
216
+ }
217
+ }
218
+ }
159
219
  }
160
220
  }
161
221
  }
@@ -32,7 +32,12 @@
32
32
  "default": {
33
33
  "description": "default response",
34
34
  "content": {
35
- "application/json": {}
35
+ "application/json": {
36
+ "schema": {
37
+ "type": "string",
38
+ "description": "(unresolved: FailureModeWorksheetDTO)"
39
+ }
40
+ }
36
41
  }
37
42
  }
38
43
  }
@@ -108,7 +113,15 @@
108
113
  "default": {
109
114
  "description": "default response",
110
115
  "content": {
111
- "application/json": {}
116
+ "application/json": {
117
+ "schema": {
118
+ "type": "array",
119
+ "items": {
120
+ "type": "string",
121
+ "description": "(unresolved: WorksheetHeaderDTO)"
122
+ }
123
+ }
124
+ }
112
125
  }
113
126
  }
114
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",