update openapi
This commit is contained in:
1 parent
cacedfd7d8
commit
c8826d90d5
1 file changed
+13
@@ -16,6 +16,9 @@ import {
|
||||
importMonitorsBodyValidation,
|
||||
getHardwareDetailsByIdParamValidation,
|
||||
getHardwareDetailsByIdQueryValidation,
|
||||
getDockerDetailsByIdParamValidation,
|
||||
getDockerDetailsByIdQueryValidation,
|
||||
dockerDetailsResponseSchema,
|
||||
monitorResponseSchema,
|
||||
uptimeDetailsResponseSchema,
|
||||
} from "@/api/validation/monitorValidation.js";
|
||||
@@ -105,6 +108,16 @@ registry.registerPath({
|
||||
responses: { "200": okUnknown, ...standardErrors },
|
||||
});
|
||||
|
||||
registry.registerPath({
|
||||
method: "get",
|
||||
path: "/monitors/docker/details/{monitorId}",
|
||||
tags,
|
||||
summary: "Get Docker host details for a monitor",
|
||||
security: bearer,
|
||||
request: { params: getDockerDetailsByIdParamValidation, query: getDockerDetailsByIdQueryValidation },
|
||||
responses: { "200": okJson(dockerDetailsResponseSchema), ...standardErrors },
|
||||
});
|
||||
|
||||
registry.registerPath({
|
||||
method: "get",
|
||||
path: "/monitors/pagespeed/details/{monitorId}",
|
||||
|
||||
Reference in new issue
Block a user