diff --git a/default_api.go b/default_api.go index 25e03d1..ffe00cb 100644 --- a/default_api.go +++ b/default_api.go @@ -3865,10 +3865,10 @@ func (a *DefaultApiService) getContentWithPath(projectKey string, repositorySlug ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse/{path}" + localVarPath := a.client.cfg.BasePath + "/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse{path}" localVarPath = strings.Replace(localVarPath, "{"+"projectKey"+"}", fmt.Sprintf("%v", projectKey), -1) localVarPath = strings.Replace(localVarPath, "{"+"repositorySlug"+"}", fmt.Sprintf("%v", repositorySlug), -1) - localVarPath = strings.Replace(localVarPath, "{"+"path"+"}", fmt.Sprintf("%v", path), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path"+"}", fmt.Sprintf("/%v", path), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{}