mirror of
https://github.com/containers/podman.git
synced 2025-09-09 21:52:21 +08:00
[CI:DOCS] Update swagger for inspect network
struct for swagger was pointing to wrong internal type Fixes #10559 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/containernetworking/cni/libcni"
|
||||
"github.com/containers/image/v5/manifest"
|
||||
"github.com/containers/podman/v3/libpod/define"
|
||||
"github.com/containers/podman/v3/pkg/api/handlers/utils"
|
||||
@ -102,7 +103,7 @@ type swagNetworkRmReport struct {
|
||||
// swagger:response NetworkInspectReport
|
||||
type swagNetworkInspectReport struct {
|
||||
// in:body
|
||||
Body entities.NetworkInspectReport
|
||||
Body libcni.NetworkConfigList
|
||||
}
|
||||
|
||||
// Network list
|
||||
|
@ -281,7 +281,9 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error {
|
||||
// tags:
|
||||
// - networks
|
||||
// summary: Inspect a network
|
||||
// description: Display low level configuration for a CNI network
|
||||
// description: |
|
||||
// Display low level configuration for a CNI network.
|
||||
// - In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.
|
||||
// parameters:
|
||||
// - in: path
|
||||
// name: name
|
||||
|
Reference in New Issue
Block a user