mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 17:17:46 +01:00
Merge pull request #10498 from heww/fix-swagger-client
build(swagger): change download link of swagger-codegen-cli
This commit is contained in:
commit
1ecc17311c
2
Makefile
2
Makefile
@ -473,7 +473,7 @@ down:
|
|||||||
|
|
||||||
swagger_client:
|
swagger_client:
|
||||||
@echo "Generate swagger client"
|
@echo "Generate swagger client"
|
||||||
wget -q http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -O swagger-codegen-cli.jar
|
wget -q https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -O swagger-codegen-cli.jar
|
||||||
rm -rf harborclient
|
rm -rf harborclient
|
||||||
mkdir harborclient
|
mkdir harborclient
|
||||||
java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient
|
java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient
|
||||||
|
Loading…
Reference in New Issue
Block a user