The input schema of updateMock tool was missing the required collection parameter. This update brings the schema in line with the implementation to avoid an API drift.
If you send the following request as per the input schema of updateMock:
{
"mockId": "specmatic-mock-id",
"mock": {
"name": "Specmatic Mock",
"environment": "SIT",
"description": "Specmatic generated mock server for SIT environment",
"private": true,
"versionTag": "v1.0.0",
"config": {
"serverResponseId": "AMVAPKDSDG"
}
}
}
we get the following error:
MCP error -32602: API request failed: 400
{
"error": {
"details": {
"param": "collection"
},
"name": "paramMissingError",
"message": "Parameter is missing in the request."
}
}