diff --git a/.sdk-version b/.sdk-version index 0ec25f7..017d61f 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v1.0.0 +v3.13.0 diff --git a/configuration.go b/configuration.go index 95c6554..fb9bb0b 100644 --- a/configuration.go +++ b/configuration.go @@ -88,7 +88,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.0.0/go", + UserAgent: "OpenAPI-Generator/v3.13.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/test/api_analyses_core_test.go b/test/api_analyses_core_test.go index b05275c..7581570 100644 --- a/test/api_analyses_core_test.go +++ b/test/api_analyses_core_test.go @@ -118,6 +118,20 @@ func Test_sdk_AnalysesCoreAPIService(t *testing.T) { }) + t.Run("Test AnalysesCoreAPIService InsertAnalysisLog", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var analysisId int32 + + resp, httpRes, err := apiClient.AnalysesCoreAPI.InsertAnalysisLog(context.Background(), analysisId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test AnalysesCoreAPIService ListAnalyses", func(t *testing.T) { t.Skip("skip test") // remove to run test