fmea-api-mcp-server 1.1.41 → 1.1.43

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.
@@ -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 status templates",
11
- "description": "Retrieves a complete list of all action status templates available in the system. Action status templates define the possible states for improvement actions (e.g., 'Open', 'In Progress', 'Completed', 'Closed'). Use this endpoint when you need to populate dropdown menus, display available status options, or validate status references. The response includes the template ID and title for each action status. Synonyms: list action statuses, get all action states, retrieve status options, fetch action status catalog.",
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 template",
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.",
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 template by ID",
74
- "description": "Retrieves a specific action status template by its unique identifier. Use this endpoint when you need to view detailed information about a particular action status, validate an ID reference, or fetch the title of a specific status. Returns 404 Not Found if the specified ID does not exist. The response includes the template ID and title fields. This is useful for displaying current status information or verifying status existence before updates. Synonyms: get action status by ID, fetch specific action state, retrieve status template details, find action status.",
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 template",
112
- "description": "Updates an existing action status template's information. This endpoint allows administrators to modify the title of an action status template. Use this endpoint when you need to rename a status, correct typos, or standardize status terminology. Requires ADMIN user level privileges. The request body must contain a 'title' field with the new status name. The path parameter specifies the ID of the status template to update. Returns the updated DTO in the response. Synonyms: modify action status, edit action state, change status title, rename 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 template",
152
- "description": "Permanently removes an action status template from the system. This endpoint is used to delete obsolete or unused action status options. Requires ADMIN user level privileges. The path parameter specifies the ID of the status template to delete. Use with caution as this operation cannot be undone. Returns 204 No Content on successful deletion. Consider whether any existing actions reference this status before deletion to avoid data integrity issues. Synonyms: remove action status, delete action state, eliminate status template, remove status option.",
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.41",
3
+ "version": "1.1.43",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",