You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a process that is a socket proxy that audits and logs podman api calls. My process reads the swagger file so it can obtain some information about the apis (e.g. the summary, operationID and the "url")
When running a simple podman container:
podman -r -ti --rm debian ls -al
my code reports
=> POST HTTP/1.1 /v5.2.5/libpod/containers/_{container id}_/shouldrestart
*** Was unable to find information for the api POST /v5.2.5/libpod/containers/_{container id}_/shouldrestart
where {container id} is the actual container id
Grep doesn't find the string "shouldrestart" in the swagger-latest.yaml file (or earlier ones)
Looking at the source code for podman shows that "shouldrestart" has been around for at least 5 years. dc8996e
Steps to reproduce the issue
Steps to reproduce the issue
grep -i shouldrestart swagger-latest.yaml
Describe the results you received
String not found
Describe the results you expected
Description of shouldrestart within the swagger yaml file
podman info output
N/A
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
N/A
Additional information
N/A
EDITED to add the -r option to the sample command
The text was updated successfully, but these errors were encountered:
Issue Description
The swagger file (https://docs.podman.io/en/latest/_static/api.html) doesn't contain information for the "shouldrestart" API call.
I have a process that is a socket proxy that audits and logs podman api calls. My process reads the swagger file so it can obtain some information about the apis (e.g. the summary, operationID and the "url")
When running a simple podman container:
podman -r -ti --rm debian ls -al
my code reports
where {container id} is the actual container id
Grep doesn't find the string "shouldrestart" in the swagger-latest.yaml file (or earlier ones)
Looking at the source code for podman shows that "shouldrestart" has been around for at least 5 years.
dc8996e
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
String not found
Describe the results you expected
Description of shouldrestart within the swagger yaml file
podman info output
N/A
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
N/A
Additional information
N/A
EDITED to add the -r option to the sample command
The text was updated successfully, but these errors were encountered: