Werk #16660: swagger: fix JSON query parameters

Component REST API
Title swagger: fix JSON query parameters
Date Jun 4, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Some query parameters (like livestatus queries) are supposed to be JSON encoded. Previously, swagger (the interactive REST API GUI) would encode these queries differently, leading to unexpected errors. Our OpenAPI spec was updated to fix this issue.

Other clients are not affected, unless they were generated using our OpenAPI spec.

To the list of all Werks