mirror of https://github.com/portainer/portainer
chore(docs): fix api reference [EE-4835] (#8242)
parent
b2bc4b92d6
commit
afb024d2a4
|
@ -7,6 +7,7 @@ import (
|
||||||
"github.com/portainer/libhttp/request"
|
"github.com/portainer/libhttp/request"
|
||||||
"github.com/portainer/libhttp/response"
|
"github.com/portainer/libhttp/response"
|
||||||
"github.com/portainer/portainer/pkg/libhelm/options"
|
"github.com/portainer/portainer/pkg/libhelm/options"
|
||||||
|
_ "github.com/portainer/portainer/pkg/libhelm/release"
|
||||||
)
|
)
|
||||||
|
|
||||||
// @id HelmList
|
// @id HelmList
|
||||||
|
|
|
@ -6,15 +6,14 @@ import (
|
||||||
httperror "github.com/portainer/libhttp/error"
|
httperror "github.com/portainer/libhttp/error"
|
||||||
"github.com/portainer/libhttp/response"
|
"github.com/portainer/libhttp/response"
|
||||||
"github.com/portainer/portainer/api/internal/endpointutils"
|
"github.com/portainer/portainer/api/internal/endpointutils"
|
||||||
"github.com/portainer/portainer/api/platform"
|
|
||||||
plf "github.com/portainer/portainer/api/platform"
|
plf "github.com/portainer/portainer/api/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type systemInfoResponse struct {
|
type systemInfoResponse struct {
|
||||||
Platform platform.ContainerPlatform `json:"platform"`
|
Platform plf.ContainerPlatform `json:"platform"`
|
||||||
EdgeAgents int `json:"edgeAgents"`
|
EdgeAgents int `json:"edgeAgents"`
|
||||||
EdgeDevices int `json:"edgeDevices"`
|
EdgeDevices int `json:"edgeDevices"`
|
||||||
Agents int `json:"agents"`
|
Agents int `json:"agents"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// @id systemInfo
|
// @id systemInfo
|
||||||
|
|
Loading…
Reference in New Issue