mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
swagger fix infinitive recursion on some types
Commit 668d517af9 moved a lot of type definitions and by that also
copied a bucnh of swagger:model comments, this caused swagger to create
a incorrect yaml that can no longer be parsed by redoc due
"Self-referencing circular pointer".
The yaml basically defined the type with a name and the pointed to the
same name definition again so it caused a infinitive recursion where
redoc just throws an error but the swagger style ignored the case so it
seemed like it worked but obviously the type information was not
working.
Fixes #22351
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -75,7 +75,6 @@ type NetworkConnectOptions = entitiesTypes.NetworkConnectOptions
|
||||
|
||||
// NetworkPruneReport containers the name of network and an error
|
||||
// associated in its pruning (removal)
|
||||
// swagger:model NetworkPruneReport
|
||||
type NetworkPruneReport = entitiesTypes.NetworkPruneReport
|
||||
|
||||
// NetworkPruneOptions describes options for pruning unused networks
|
||||
|
||||
Reference in New Issue
Block a user