Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: d9e071f164e4712068e0abb2c4a99821a3ea11ff
https://github.com/Checkmk/checkmk/commit/d9e071f164e4712068e0abb2c4a99821a…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
A tests/unit/cmk/gui/openapi/restful_objects/test_endpoint_registry.py
Log Message:
-----------
Add test to ensure we don't loose endpoints during refactoring
Change-Id: Ibc948f3c312747f30a97103ed69ab68f5fce1848
Commit: fd8fb412acecfeb77599a5c66bc8d06f62d4392d
https://github.com/Checkmk/checkmk/commit/fd8fb412acecfeb77599a5c66bc8d06f6…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/endpoint_registry.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
Log Message:
-----------
Improve typing and simplify add_endpoint
The dict case for parameters was not used at all. The wrong type hints
were not triggering issues, because of a few hints missing in the call
chain.
Change-Id: Idedab8766fffb51740265c87d45adff1b47e7a71
Compare:
https://github.com/Checkmk/checkmk/compare/e1d45fd9da7f...fd8fb412acec