Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 73e3ad4a59e73623297e25441fa1cc0e5e0145ca
https://github.com/Checkmk/checkmk/commit/73e3ad4a59e73623297e25441fa1cc0e5…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
A .werks/16524.md
M cmk/gui/openapi/endpoints/host_config/__init__.py
M cmk/gui/openapi/restful_objects/api_error.py
M cmk/gui/openapi/restful_objects/code_examples.py
M cmk/gui/openapi/restful_objects/decorators.py
M cmk/gui/openapi/restful_objects/type_defs.py
M cmk/gui/openapi/spec_generator.py
M tests/unit/cmk/gui/openapi/test_endpoint.py
M tests/unit/cmk/gui/openapi/test_restful_objects.py
Log Message:
-----------
16524 FIX apidocs: improve the request/response examples
Previously the requests and urllib examples were hard coded to show
the same response samples and the same response status codes in
the request samples.
This werk addresses this issue by showing the correct possible
status codes for each endpoint.
CMK-15896
Change-Id: Ic844dc8bf25415629c5f3154b4b4fdaae1a5cb15
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications