Fix swagger issue
Add special case for op PlayKubeDownLibpod Heuristic for guessing swagger operation id too limited for PlayKubeDownLibpod Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
parent
1e176923b1
commit
e88b62b34b
|
@ -320,6 +320,9 @@ sub operation_name {
|
|||
if ($action eq 'df') {
|
||||
$action = 'dataUsage';
|
||||
}
|
||||
elsif ($action eq "delete" && $endpoint eq "/libpod/play/kube") {
|
||||
$action = "KubeDown"
|
||||
}
|
||||
# Grrrrrr, this one is annoying: some operations get an extra 'All'
|
||||
elsif ($action =~ /^(delete|get|stats)$/ && $endpoint !~ /\{/) {
|
||||
$action .= "All";
|
||||
|
|
Loading…
Reference in New Issue