[CI:DOCS] fix swagger api docs

Separate the volume endpoints into compat and libpod,
as it is done for the other endpoints.

Move the libpod image push endpoint to images.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
Paul Holzinger
2020-08-23 14:48:32 +02:00
parent 4828455055
commit b4adc17614
4 changed files with 33 additions and 11 deletions

View File

@@ -241,7 +241,7 @@ sub handle_handle {
}
# Special case: the following endpoints all get a custom tag
if ($endpoint =~ m!/(volumes|pods|manifests)/!) {
if ($endpoint =~ m!/(pods|manifests)/!) {
$tag = $1;
$operation =~ s/^libpod//;
$operation = lcfirst $operation;