fmea-api-mcp-server 1.0.0

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.
@@ -0,0 +1,118 @@
1
+ {
2
+ "category": "Division Management",
3
+ "version": "v1",
4
+ "description": "부서 관리 관련 API",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v1/divisions",
8
+ "method": "GET",
9
+ "summary": "Find all divisions",
10
+ "operationId": "findAll",
11
+ "description": "Retrieve a paginated list of all divisions",
12
+ "tags": [],
13
+ "parameters": [
14
+ {
15
+ "name": "size",
16
+ "in": "query",
17
+ "schema": {
18
+ "type": "integer",
19
+ "format": "int32",
20
+ "default": 20
21
+ },
22
+ "required": false
23
+ },
24
+ {
25
+ "name": "page",
26
+ "in": "query",
27
+ "schema": {
28
+ "type": "integer",
29
+ "format": "int32",
30
+ "default": 1
31
+ },
32
+ "required": false
33
+ }
34
+ ],
35
+ "responses": {
36
+ "default": {
37
+ "description": "default response",
38
+ "content": {
39
+ "application/json": {}
40
+ }
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "path": "/api/v1/divisions",
46
+ "method": "POST",
47
+ "summary": "Save divisions",
48
+ "operationId": "save_1",
49
+ "description": "Create multiple divisions",
50
+ "tags": [],
51
+ "parameters": [],
52
+ "requestBody": {
53
+ "content": {
54
+ "*/*": {
55
+ "schema": {
56
+ "type": "array",
57
+ "items": {
58
+ "$ref": "#/components/schemas/DivisionSaveDTO"
59
+ }
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "responses": {
65
+ "default": {
66
+ "description": "default response",
67
+ "content": {
68
+ "application/json": {}
69
+ }
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "path": "/api/v1/divisions/{id}/accesses",
75
+ "method": "GET",
76
+ "summary": "Find division accesses by ID",
77
+ "operationId": "findById_1",
78
+ "description": "Retrieve access information for a specific division",
79
+ "tags": [],
80
+ "parameters": [
81
+ {
82
+ "name": "id",
83
+ "in": "path",
84
+ "required": true,
85
+ "schema": {
86
+ "type": "integer",
87
+ "format": "int32"
88
+ }
89
+ }
90
+ ],
91
+ "responses": {
92
+ "default": {
93
+ "description": "default response",
94
+ "content": {
95
+ "application/json": {}
96
+ }
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "path": "/api/v1/divisions/my",
102
+ "method": "GET",
103
+ "summary": "Find divisions by user ID",
104
+ "operationId": "findByUserId",
105
+ "description": "Retrieve divisions associated with the current user",
106
+ "tags": [],
107
+ "parameters": [],
108
+ "responses": {
109
+ "default": {
110
+ "description": "default response",
111
+ "content": {
112
+ "application/json": {}
113
+ }
114
+ }
115
+ }
116
+ }
117
+ ]
118
+ }
@@ -0,0 +1,301 @@
1
+ {
2
+ "category": "Failure Modes & FMM Diagram",
3
+ "version": "v1",
4
+ "description": "실패모드 및 FMM 다이어그램 관련 API",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v1/projects/{projectId}/blockdiagrams/{blockId}/nodes/{nodeId}/failuremodes",
8
+ "method": "GET",
9
+ "summary": "Find Failure Modes",
10
+ "description": "Retrieve failure modes for a specific node in a block diagram",
11
+ "tags": [],
12
+ "parameters": [
13
+ {
14
+ "name": "projectId",
15
+ "in": "path",
16
+ "required": true,
17
+ "schema": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ {
22
+ "name": "blockId",
23
+ "in": "path",
24
+ "required": true,
25
+ "schema": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ {
30
+ "name": "nodeId",
31
+ "in": "path",
32
+ "required": true,
33
+ "schema": {
34
+ "type": "string"
35
+ }
36
+ }
37
+ ],
38
+ "requestBody": null,
39
+ "responses": {
40
+ "default": {
41
+ "description": "default response",
42
+ "content": {
43
+ "application/json": {}
44
+ }
45
+ }
46
+ }
47
+ },
48
+ {
49
+ "path": "/api/v1/projects/{projectId}/blockdiagrams/{blockId}/nodes/{nodeId}/failuremodes",
50
+ "method": "DELETE",
51
+ "summary": "Delete Failure Modes",
52
+ "description": "Delete failure modes for a specific node in a block diagram",
53
+ "tags": [],
54
+ "parameters": [
55
+ {
56
+ "name": "projectId",
57
+ "in": "path",
58
+ "required": true,
59
+ "schema": {
60
+ "type": "string"
61
+ }
62
+ },
63
+ {
64
+ "name": "blockId",
65
+ "in": "path",
66
+ "required": true,
67
+ "schema": {
68
+ "type": "string"
69
+ }
70
+ },
71
+ {
72
+ "name": "nodeId",
73
+ "in": "path",
74
+ "required": true,
75
+ "schema": {
76
+ "type": "string"
77
+ }
78
+ }
79
+ ],
80
+ "requestBody": {
81
+ "content": {
82
+ "*/*": {
83
+ "schema": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "string"
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "required": true
92
+ },
93
+ "responses": {
94
+ "default": {
95
+ "description": "default response",
96
+ "content": {
97
+ "application/json": {}
98
+ }
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "path": "/api/v1/projects/{projectId}/blockdiagrams/{blockId}/failuremodes/import-from-project",
104
+ "method": "POST",
105
+ "summary": "Import Failure Modes from Project",
106
+ "description": "Import failure modes from another project",
107
+ "tags": [],
108
+ "parameters": [
109
+ {
110
+ "name": "projectId",
111
+ "in": "path",
112
+ "required": true,
113
+ "schema": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ {
118
+ "name": "blockId",
119
+ "in": "path",
120
+ "required": true,
121
+ "schema": {
122
+ "type": "string"
123
+ }
124
+ }
125
+ ],
126
+ "requestBody": {
127
+ "content": {
128
+ "*/*": {
129
+ "schema": {
130
+ "$ref": "#/components/schemas/FailureModeImportFromProjectDTO"
131
+ }
132
+ }
133
+ }
134
+ },
135
+ "responses": {
136
+ "default": {
137
+ "description": "default response",
138
+ "content": {
139
+ "application/json": {}
140
+ }
141
+ }
142
+ }
143
+ },
144
+ {
145
+ "path": "/api/v1/projects/{projectId}/blockdiagrams/{blockId}/failuremodes",
146
+ "method": "POST",
147
+ "summary": "Save All Failure Modes",
148
+ "description": "Save multiple failure modes for a block diagram",
149
+ "tags": [],
150
+ "parameters": [
151
+ {
152
+ "name": "projectId",
153
+ "in": "path",
154
+ "required": true,
155
+ "schema": {
156
+ "type": "string"
157
+ }
158
+ },
159
+ {
160
+ "name": "blockId",
161
+ "in": "path",
162
+ "required": true,
163
+ "schema": {
164
+ "type": "string"
165
+ }
166
+ }
167
+ ],
168
+ "requestBody": {
169
+ "content": {
170
+ "*/*": {
171
+ "schema": {
172
+ "type": "array",
173
+ "items": {
174
+ "$ref": "#/components/schemas/FailureModeSaveDTO"
175
+ }
176
+ }
177
+ }
178
+ },
179
+ "required": true
180
+ },
181
+ "responses": {
182
+ "default": {
183
+ "description": "default response",
184
+ "content": {
185
+ "application/json": {}
186
+ }
187
+ }
188
+ }
189
+ },
190
+ {
191
+ "path": "/api/v1/projects/{projectId}/failuremods/{fmmId}/fmmdiagram",
192
+ "method": "GET",
193
+ "summary": "List FMM Diagram",
194
+ "description": "Retrieve FMM diagram for a specific failure mode",
195
+ "tags": [],
196
+ "parameters": [
197
+ {
198
+ "name": "projectId",
199
+ "in": "path",
200
+ "required": true,
201
+ "schema": {
202
+ "type": "string"
203
+ }
204
+ },
205
+ {
206
+ "name": "fmmId",
207
+ "in": "path",
208
+ "required": true,
209
+ "schema": {
210
+ "type": "string"
211
+ }
212
+ }
213
+ ],
214
+ "requestBody": null,
215
+ "responses": {
216
+ "default": {
217
+ "description": "default response",
218
+ "content": {
219
+ "application/json": {}
220
+ }
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "path": "/api/v1/projects/{projectId}/failuremods/{topEventId}/fta",
226
+ "method": "GET",
227
+ "summary": "List FTA",
228
+ "description": "Retrieve Fault Tree Analysis for a failure mode",
229
+ "tags": [],
230
+ "parameters": [
231
+ {
232
+ "name": "projectId",
233
+ "in": "path",
234
+ "required": true,
235
+ "schema": {
236
+ "type": "string"
237
+ }
238
+ },
239
+ {
240
+ "name": "topEventId",
241
+ "in": "path",
242
+ "required": true,
243
+ "schema": {
244
+ "type": "string"
245
+ }
246
+ }
247
+ ],
248
+ "requestBody": null,
249
+ "responses": {
250
+ "default": {
251
+ "description": "default response",
252
+ "content": {
253
+ "application/json": {}
254
+ }
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "path": "/api/v1/projects/{projectId}/failuremods/{topEventId}/fta",
260
+ "method": "POST",
261
+ "summary": "Save FTA",
262
+ "description": "Save Fault Tree Analysis for a failure mode",
263
+ "tags": [],
264
+ "parameters": [
265
+ {
266
+ "name": "projectId",
267
+ "in": "path",
268
+ "required": true,
269
+ "schema": {
270
+ "type": "string"
271
+ }
272
+ },
273
+ {
274
+ "name": "topEventId",
275
+ "in": "path",
276
+ "required": true,
277
+ "schema": {
278
+ "type": "string"
279
+ }
280
+ }
281
+ ],
282
+ "requestBody": {
283
+ "content": {
284
+ "application/json": {
285
+ "schema": {
286
+ "$ref": "#/components/schemas/FTANodeSaveDTO"
287
+ }
288
+ }
289
+ }
290
+ },
291
+ "responses": {
292
+ "default": {
293
+ "description": "default response",
294
+ "content": {
295
+ "application/json": {}
296
+ }
297
+ }
298
+ }
299
+ }
300
+ ]
301
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "category": "Files",
3
+ "version": "v1",
4
+ "description": "파일 관리 관련 API",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v1/files/{uuid}",
8
+ "method": "GET",
9
+ "operationId": "downloadFile",
10
+ "summary": "Download file",
11
+ "description": "Download a file by its UUID",
12
+ "tags": [],
13
+ "parameters": [
14
+ {
15
+ "name": "uuid",
16
+ "in": "path",
17
+ "required": true,
18
+ "schema": {
19
+ "type": "string"
20
+ }
21
+ }
22
+ ],
23
+ "responses": {
24
+ "default": {
25
+ "description": "default response",
26
+ "content": {
27
+ "*/*": {}
28
+ }
29
+ }
30
+ }
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "category": "FTA (Fault Tree Analysis)",
3
+ "version": "v1",
4
+ "description": "FTA 고장 트리 분석 관련 API",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v1/projects/{projectId}/failuremods/{topEventId}/fta",
8
+ "method": "GET",
9
+ "operationId": "list_2",
10
+ "summary": "List FTA nodes",
11
+ "description": "Retrieves FTA (Fault Tree Analysis) nodes for a specific top event in a project",
12
+ "tags": [],
13
+ "parameters": [
14
+ {
15
+ "name": "projectId",
16
+ "in": "path",
17
+ "required": true,
18
+ "schema": {
19
+ "type": "string"
20
+ }
21
+ },
22
+ {
23
+ "name": "topEventId",
24
+ "in": "path",
25
+ "required": true,
26
+ "schema": {
27
+ "type": "string"
28
+ }
29
+ }
30
+ ],
31
+ "responses": {
32
+ "default": {
33
+ "description": "default response",
34
+ "content": {
35
+ "application/json": {}
36
+ }
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "path": "/api/v1/projects/{projectId}/failuremods/{topEventId}/fta",
42
+ "method": "POST",
43
+ "operationId": "save_2",
44
+ "summary": "Save FTA node",
45
+ "description": "Creates or saves FTA (Fault Tree Analysis) nodes for a specific top event in a project",
46
+ "tags": [],
47
+ "parameters": [
48
+ {
49
+ "name": "projectId",
50
+ "in": "path",
51
+ "required": true,
52
+ "schema": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "topEventId",
58
+ "in": "path",
59
+ "required": true,
60
+ "schema": {
61
+ "type": "string"
62
+ }
63
+ }
64
+ ],
65
+ "requestBody": {
66
+ "content": {
67
+ "application/json": {
68
+ "schema": {
69
+ "$ref": "#/components/schemas/FTANodeSaveDTO"
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "responses": {
75
+ "default": {
76
+ "description": "default response",
77
+ "content": {
78
+ "application/json": {}
79
+ }
80
+ }
81
+ }
82
+ }
83
+ ],
84
+ "schemas": {
85
+ "FTANodeSaveDTO": {
86
+ "type": "object",
87
+ "properties": {
88
+ "nodeId": {
89
+ "type": "integer",
90
+ "format": "int32"
91
+ },
92
+ "nodeTitle": {
93
+ "type": "string"
94
+ },
95
+ "nodeType": {
96
+ "type": "integer",
97
+ "format": "int32"
98
+ },
99
+ "fontName": {
100
+ "type": "string"
101
+ },
102
+ "fontColor": {
103
+ "type": "integer",
104
+ "format": "int32"
105
+ },
106
+ "fontSize": {
107
+ "type": "integer",
108
+ "format": "int32"
109
+ },
110
+ "fontBold": {
111
+ "type": "integer",
112
+ "format": "int32"
113
+ },
114
+ "fontItalic": {
115
+ "type": "integer",
116
+ "format": "int32"
117
+ },
118
+ "fontUnderline": {
119
+ "type": "integer",
120
+ "format": "int32"
121
+ },
122
+ "occurrence": {
123
+ "type": "number",
124
+ "format": "double"
125
+ },
126
+ "description": {
127
+ "type": "string"
128
+ },
129
+ "serial": {
130
+ "type": "integer",
131
+ "format": "int32"
132
+ },
133
+ "ftaCount": {
134
+ "type": "integer",
135
+ "format": "int32"
136
+ },
137
+ "children": {
138
+ "type": "array",
139
+ "items": {
140
+ "$ref": "#/components/schemas/FTANodeSaveDTO"
141
+ }
142
+ },
143
+ "deleted": {
144
+ "type": "boolean"
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }