Skip to content

Commit

Permalink
use latest for client library
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jan 22, 2024
1 parent 93e890d commit 3c0fac1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assisted-service-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ assisted-installer python library
{{{ git_dir_setup_macro }}}

%build
# git checkout v2.27.0
curl https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar > swagger-codegen-cli.jar
curl https://raw.githubusercontent.com/openshift/assisted-service/v2.27.0/swagger.yaml > swagger.yaml
# curl https://raw.githubusercontent.com/openshift/assisted-service/master/swagger.yaml > swagger.yaml
# curl https://raw.githubusercontent.com/openshift/assisted-service/v2.27.0/swagger.yaml > swagger.yaml
curl https://raw.githubusercontent.com/openshift/assisted-service/master/swagger.yaml > swagger.yaml
sed -i '/pattern:/d' swagger.yaml
echo '{"packageName" : "assisted_service_client", "packageVersion": "1.0.0"}' > swagger.spec
java -jar swagger-codegen-cli.jar generate --lang python --config swagger.spec --output build --input-spec swagger.yaml
Expand Down

0 comments on commit 3c0fac1

Please sign in to comment.