From adb213bc00637403b56cea954d51685b816f56ae Mon Sep 17 00:00:00 2001 From: Marcus Low Junxiang Date: Mon, 8 May 2017 09:55:13 +0800 Subject: [PATCH] Modifying resty dependency to use stable release instead of HEAD (#5579) * Modifying resty dependency to use stable release instead of HEAD * adding dependency to pre-integration test --- .../swagger-codegen/src/main/resources/go/api_client.mustache | 2 +- samples/client/petstore-security-test/go/api_client.go | 2 +- samples/client/petstore/go/go-petstore/api_client.go | 2 +- samples/client/petstore/go/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/go/api_client.mustache b/modules/swagger-codegen/src/main/resources/go/api_client.mustache index e4ae2d09904..1a590bf6a1a 100644 --- a/modules/swagger-codegen/src/main/resources/go/api_client.mustache +++ b/modules/swagger-codegen/src/main/resources/go/api_client.mustache @@ -9,7 +9,7 @@ import ( "strings" "net/url" "io/ioutil" - "github.com/go-resty/resty" + "gopkg.in/go-resty/resty.v0" ) type APIClient struct { diff --git a/samples/client/petstore-security-test/go/api_client.go b/samples/client/petstore-security-test/go/api_client.go index 5b7295c680a..0b29304b906 100644 --- a/samples/client/petstore-security-test/go/api_client.go +++ b/samples/client/petstore-security-test/go/api_client.go @@ -18,7 +18,7 @@ import ( "strings" "net/url" "io/ioutil" - "github.com/go-resty/resty" + "gopkg.in/go-resty/resty.v0" ) type APIClient struct { diff --git a/samples/client/petstore/go/go-petstore/api_client.go b/samples/client/petstore/go/go-petstore/api_client.go index a93f346e102..40d04adb01b 100644 --- a/samples/client/petstore/go/go-petstore/api_client.go +++ b/samples/client/petstore/go/go-petstore/api_client.go @@ -18,7 +18,7 @@ import ( "strings" "net/url" "io/ioutil" - "github.com/go-resty/resty" + "gopkg.in/go-resty/resty.v0" ) type APIClient struct { diff --git a/samples/client/petstore/go/pom.xml b/samples/client/petstore/go/pom.xml index 028ef60a6f4..15eb373500a 100644 --- a/samples/client/petstore/go/pom.xml +++ b/samples/client/petstore/go/pom.xml @@ -50,7 +50,7 @@ go get - github.com/go-resty/resty + gopkg.in/go-resty/resty.v0