From df97495651687791b1bed0fe00a616248f7ca828 Mon Sep 17 00:00:00 2001 From: Vittorio Curcio Date: Tue, 11 Dec 2018 23:26:51 +0100 Subject: [PATCH] Replace placeholder in path --- default_api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default_api.go b/default_api.go index 97b78ff..e546012 100644 --- a/default_api.go +++ b/default_api.go @@ -3858,6 +3858,8 @@ func (a *DefaultApiService) GetContent(projectKey string, repositorySlug string, // create path and map variables localVarPath := a.client.cfg.BasePath + "/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse" + localVarPath = strings.Replace(localVarPath, "{"+"projectKey"+"}", fmt.Sprintf("%v", projectKey), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repositorySlug"+"}", fmt.Sprintf("%v", repositorySlug), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{}