|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Serves Swagger UI and OpenAPI specification for API documentation. More...
#include <mitkSwaggerController.h>
Public Member Functions | |
| SwaggerController () | |
| void | HandleGET_docs (const httplib::Request &req, httplib::Response &res) |
| Handle GET /docs - serves Swagger UI HTML page. More... | |
| void | HandleGET_docs_css (const httplib::Request &req, httplib::Response &res) |
| Handle GET /docs/swagger-ui.css - serves Swagger UI stylesheet. More... | |
| void | HandleGET_docs_js (const httplib::Request &req, httplib::Response &res) |
| Handle GET /docs/swagger-ui-bundle.js - serves Swagger UI JavaScript. More... | |
| void | HandleGET_openapi (const httplib::Request &req, httplib::Response &res) |
| Handle GET /openapi.json - serves the OpenAPI specification. More... | |
Serves Swagger UI and OpenAPI specification for API documentation.
Endpoints:
All assets are loaded from CppMicroServices bundled resources and cached in memory after first access.
Definition at line 37 of file mitkSwaggerController.h.
| mitk::SwaggerController::SwaggerController | ( | ) |
| void mitk::SwaggerController::HandleGET_docs | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Handle GET /docs - serves Swagger UI HTML page.
| void mitk::SwaggerController::HandleGET_docs_css | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Handle GET /docs/swagger-ui.css - serves Swagger UI stylesheet.
| void mitk::SwaggerController::HandleGET_docs_js | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Handle GET /docs/swagger-ui-bundle.js - serves Swagger UI JavaScript.
| void mitk::SwaggerController::HandleGET_openapi | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Handle GET /openapi.json - serves the OpenAPI specification.