]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add application/json content type to api doc respones 66644/head
authorPedro Gonzalez Gomez <pegonzal@ibm.com>
Tue, 16 Dec 2025 08:37:27 +0000 (09:37 +0100)
committerPedro Gonzalez Gomez <pegonzal@ibm.com>
Sun, 8 Feb 2026 15:32:50 +0000 (16:32 +0100)
commita3a18d3b43f84c5b139430b057015c743388a193
tree225b9c040628fa0346de38fdd7fc5cfdf41f6458
parent3c567892442fe4e04c0a470c53a361ee513c47ac
mgr/dashboard: Add application/json content type to api doc respones

This will fix the sphinx documentation generated and properly display endpoint documentation responses.
Also adds a doc link to the openapi swagger

Fixes: https://tracker.ceph.com/issues/73413
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/tests/test_docs.py