fix(api): added missing "x-id"s

This commit is contained in:
yusing
2025-08-16 23:24:03 +08:00
parent 11af9d107a
commit 6b89cd9106
8 changed files with 37 additions and 12 deletions

View File

@@ -19,6 +19,7 @@ type Container struct {
State ContainerState `json:"state"`
} // @name ContainerResponse
// @x-id "containers"
// @BasePath /api/v1
// @Summary Get containers
// @Description Get containers

View File

@@ -42,6 +42,7 @@ func toDockerInfo(info dockerSystem.Info) dockerInfo {
}
}
// @x-id "info"
// @BasePath /api/v1
// @Summary Get docker info
// @Description Get docker info

View File

@@ -27,6 +27,7 @@ type LogsQueryParams struct {
Levels string `form:"levels"`
} // @name LogsQueryParams
// @x-id "logs"
// @BasePath /api/v1
// @Summary Get docker container logs
// @Description Get docker container logs