You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- update_test_case: inject id into PATCH body (required by Allure API)
- manual_scenario: type ScenarioDto with required type discriminator per spec
- add_test_case_defect: fix endpoint POST /testcase/{id}/defect/{defectId}
- remove_test_case_members: replace DELETE /members with POST bulk/member/remove
- resolve_test_result / bulk_resolve: add required status field
- remove update_launch_environment (PUT /launch/{id}/env not in spec)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [2.0.3] - 2026-06-01 - API Compliance Fixes
11
+
12
+
### Fixed
13
+
14
+
-**`update_test_case` — `id` missing from request body** — `PATCH /api/testcase/{id}` requires the test case ID both in the URL path and in the JSON body. The body field was absent, causing the API to reject or misroute update requests.
15
+
16
+
-**`update_test_case` — scenario steps lacked required `type` discriminator** — The Allure API uses a polymorphic step schema (`ScenarioStepDto`) with a required `type` field (`"body"` or `"expected"`). Steps were sent without this field, so the API could not determine the step variant. The `manual_scenario` field is now typed as `ScenarioDto{Steps []ScenarioStepDto}` with `type` enforced. Tool description and schema updated to make the step format explicit.
17
+
18
+
-**`add_test_case_defect` — wrong endpoint** — was calling `POST /api/testcase/{id}/defect` (GET-only in spec). Corrected to `POST /api/testcase/{testCaseId}/defect/{defectId}` with no request body.
19
+
20
+
-**`remove_test_case_members` — wrong endpoint and method** — was calling `DELETE /api/testcase/{id}/members` (not in spec). Replaced with `POST /api/testcase/bulk/member/remove` using the correct `{ids, selection}` body. Tool schema updated to require `project_id` (needed for the `selection` object).
21
+
22
+
-**`resolve_test_result` — missing required `status` field** — `POST /api/testresult/{id}/resolve` requires a `status` body (`failed`, `broken`, `passed`, `skipped`, `unknown`). Was sending no body. Both the client method and tool schema now require `status`.
-**`update_launch_environment`** — `PUT /api/launch/{id}/env` does not exist in the Allure TestOps API (spec defines only `GET` on this path). Tool and client method removed to prevent silent failures.
29
+
10
30
## [2.0.2] - 2026-06-01 - Tool Discovery & Test Case Management
0 commit comments