The podmanapi
package was generated using the Swagger Codegen 3.0.23 downloaded from the Maven Repository:
java -jar swagger-codegen-cli-3.0.23.jar generate -l go -i https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml -o pkg/swagger
The link to the swagger-latest-master.yaml
was found in the auto-generated API documentation page.
Afterwards:
- the missing
os
imports were added model_plugin_config_linux.go
was renamed tomodel_plugin_config_linux_.go
model_namespace.go
'sNamespace
'sString_
field JSON name was changed fromstring
tovalue
to accomodate the upstream change
... to fix the compilation.