diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-22 16:19:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 16:19:11 -0400 |
commit | a53a660313c6539c3e4a3558beb49836ca76d46f (patch) | |
tree | 3b887656f560a4d997a7456572738088e5ad8892 /pkg/api/handlers/compat/swagger.go | |
parent | d340f8523c9610644c8a195d1e3e9b3a5d32c5b3 (diff) | |
parent | 68419365257f1fcaa638605576a0583ef282a5a5 (diff) | |
download | podman-a53a660313c6539c3e4a3558beb49836ca76d46f.tar.gz podman-a53a660313c6539c3e4a3558beb49836ca76d46f.tar.bz2 podman-a53a660313c6539c3e4a3558beb49836ca76d46f.zip |
Merge pull request #8078 from baude/networkdisconnect
APIv2 compatibility network connect|disconnect
Diffstat (limited to 'pkg/api/handlers/compat/swagger.go')
-rw-r--r-- | pkg/api/handlers/compat/swagger.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/swagger.go b/pkg/api/handlers/compat/swagger.go index 371d02388..0a514822b 100644 --- a/pkg/api/handlers/compat/swagger.go +++ b/pkg/api/handlers/compat/swagger.go @@ -63,3 +63,17 @@ type swagCompatNetworkCreateResponse struct { // in:body Body struct{ types.NetworkCreate } } + +// Network disconnect +// swagger:model NetworkConnectRequest +type swagCompatNetworkConnectRequest struct { + // in:body + Body struct{ types.NetworkConnect } +} + +// Network disconnect +// swagger:model NetworkDisconnectRequest +type swagCompatNetworkDisconnectRequest struct { + // in:body + Body struct{ types.NetworkDisconnect } +} |