How to download swagger API specs? #29035
-
|
Hello! I maintain https://github.com/lispyclouds/contajners a well used tool to interface with Podman in the Clojure world. It is a fully data driven client meaning it allows users to directly call ops via the swagger yaml without much abstractions and as part of its releases it downloads these automatically. Thanks for Podman as always! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi, that is correct we switched the locations. Previously we build and uploaded the swagger in a separate bucket on our gce account. But we recently had to chnage CI providers so we no longer use the GCE account so we had to make some changes. The fact that the docs and swagger versions where maintained in two places was a bit awkward as we needed an additional version selector on read the docs and then manually maintain versions there which never really worked well. As such I reworked the entire process and build the file as part of the readthedocs main build: #29017 In short the new path is: https://docs.podman.io/en/latest/_static/swagger.yaml where I guess I must backport this change to v5.8 as well so we can upload the next 5.8.4 yaml there as well |
Beta Was this translation helpful? Give feedback.
Hi, that is correct we switched the locations. Previously we build and uploaded the swagger in a separate bucket on our gce account. But we recently had to chnage CI providers so we no longer use the GCE account so we had to make some changes.
The fact that the docs and swagger versions where maintained in two places was a bit awkward as we needed an additional version selector on read the docs and then manually maintain versions there which never really worked well.
As such I reworked the entire process and build the file as part of the readthedocs main build: #29017
In short the new path is: https://docs.podman.io/en/latest/_static/swagger.yaml
where
latest== main branch andstablewou…