@snokam/mcp-api 2.11.0 → 2.13.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.
- package/package.json +1 -1
- package/specs/production/employees.json +55 -0
- package/specs/production/sales.json +2082 -460
- package/specs/test/employees.json +55 -0
- package/specs/test/sales.json +2082 -460
|
@@ -255,6 +255,61 @@
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
"/v1.0/protected/{id}": {
|
|
258
|
+
"put": {
|
|
259
|
+
"tags": [
|
|
260
|
+
"Protected"
|
|
261
|
+
],
|
|
262
|
+
"summary": "Updates protected employee data by id or email",
|
|
263
|
+
"description": "Updates protected employee data for a specified employee id or email.",
|
|
264
|
+
"operationId": "PatchEmployeeProtected",
|
|
265
|
+
"parameters": [
|
|
266
|
+
{
|
|
267
|
+
"name": "id",
|
|
268
|
+
"in": "path",
|
|
269
|
+
"description": "Sanity id or employee email",
|
|
270
|
+
"required": true,
|
|
271
|
+
"schema": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"x-ms-summary": "The employee id or email"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"requestBody": {
|
|
278
|
+
"description": "Employee data to update",
|
|
279
|
+
"content": {
|
|
280
|
+
"application/json": {
|
|
281
|
+
"schema": {
|
|
282
|
+
"$ref": "#/components/schemas/patchEmployee"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": true
|
|
287
|
+
},
|
|
288
|
+
"responses": {
|
|
289
|
+
"200": {
|
|
290
|
+
"description": "Protected employee data updated successfully",
|
|
291
|
+
"content": {
|
|
292
|
+
"application/json": {
|
|
293
|
+
"schema": {
|
|
294
|
+
"$ref": "#/components/schemas/protectedEmployee"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"x-ms-summary": "Success"
|
|
299
|
+
},
|
|
300
|
+
"401": {
|
|
301
|
+
"description": "User is not authorized",
|
|
302
|
+
"x-ms-summary": "Unauthorized"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"security": [
|
|
306
|
+
{
|
|
307
|
+
"Implicit": [
|
|
308
|
+
"api://e50e72ca-3b4a-413c-965d-f45ff561d551/.default"
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
258
313
|
"get": {
|
|
259
314
|
"tags": [
|
|
260
315
|
"Protected"
|