From 6979496a37ad0fe0f492e6e6b655096e800fd5d2 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Mon, 7 Sep 2026 13:35:07 +0000 Subject: [PATCH] Generate observability --- services/observability/go.mod | 2 +- services/observability/go.sum | 4 ++-- services/observability/oas_commit | 2 +- .../v1api/model_create_cert_check_400_response.go | 9 ++------- .../model_create_elasticsearch_check_400_response.go | 9 ++------- .../v1api/model_create_http_check_400_response.go | 9 ++------- .../v1api/model_create_mongodb_check_400_response.go | 9 ++------- .../v1api/model_create_mysql_check_400_response.go | 9 ++------- .../v1api/model_create_network_check_400_response.go | 9 ++------- .../v1api/model_create_ping_check_400_response.go | 9 ++------- .../v1api/model_create_postgresql_check_400_response.go | 9 ++------- .../v1api/model_create_rabbitmq_check_400_response.go | 9 ++------- .../v1api/model_create_redis_check_400_response.go | 9 ++------- 13 files changed, 24 insertions(+), 74 deletions(-) diff --git a/services/observability/go.mod b/services/observability/go.mod index d9fd0d3f2..a735da85f 100644 --- a/services/observability/go.mod +++ b/services/observability/go.mod @@ -4,7 +4,7 @@ go 1.25 require ( github.com/google/go-cmp v0.7.0 - github.com/stackitcloud/stackit-sdk-go/core v0.26.0 + github.com/stackitcloud/stackit-sdk-go/core v0.27.0 ) require ( diff --git a/services/observability/go.sum b/services/observability/go.sum index 3712a0c87..042f4a71a 100644 --- a/services/observability/go.sum +++ b/services/observability/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.26.0 h1:jQEb9gkehfp6VCP6TcYk7BI10cz4l0KM2L6hqYBH2QA= -github.com/stackitcloud/stackit-sdk-go/core v0.26.0/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= +github.com/stackitcloud/stackit-sdk-go/core v0.27.0 h1:7lc6qStcFDFf8zHP4ORPa9joybw+Sa2LtB6BVjKQ+ek= +github.com/stackitcloud/stackit-sdk-go/core v0.27.0/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= diff --git a/services/observability/oas_commit b/services/observability/oas_commit index e05d493f3..d5d15003c 100644 --- a/services/observability/oas_commit +++ b/services/observability/oas_commit @@ -1 +1 @@ -da4701b7dbe20e984aef89711bb9ba716e19fcba +f385f3b154cb566b3c9e5156c29b28150f2af4a2 diff --git a/services/observability/v1api/model_create_cert_check_400_response.go b/services/observability/v1api/model_create_cert_check_400_response.go index a66e1e019..eaae5c417 100644 --- a/services/observability/v1api/model_create_cert_check_400_response.go +++ b/services/observability/v1api/model_create_cert_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateCertCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateCertCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateCertCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateCertCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateCertCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateCertCheck400Response)") } } diff --git a/services/observability/v1api/model_create_elasticsearch_check_400_response.go b/services/observability/v1api/model_create_elasticsearch_check_400_response.go index 1d9854975..5ffc76d3e 100644 --- a/services/observability/v1api/model_create_elasticsearch_check_400_response.go +++ b/services/observability/v1api/model_create_elasticsearch_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateElasticsearchCheck400Response) UnmarshalJSON(data []byte) error } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateElasticsearchCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateElasticsearchCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateElasticsearchCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateElasticsearchCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateElasticsearchCheck400Response)") } } diff --git a/services/observability/v1api/model_create_http_check_400_response.go b/services/observability/v1api/model_create_http_check_400_response.go index e693cfd30..d38f7247b 100644 --- a/services/observability/v1api/model_create_http_check_400_response.go +++ b/services/observability/v1api/model_create_http_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateHttpCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateHttpCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateHttpCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateHttpCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateHttpCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateHttpCheck400Response)") } } diff --git a/services/observability/v1api/model_create_mongodb_check_400_response.go b/services/observability/v1api/model_create_mongodb_check_400_response.go index adfcf2614..b93b64f4a 100644 --- a/services/observability/v1api/model_create_mongodb_check_400_response.go +++ b/services/observability/v1api/model_create_mongodb_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateMongodbCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateMongodbCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMongodbCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMongodbCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMongodbCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateMongodbCheck400Response)") } } diff --git a/services/observability/v1api/model_create_mysql_check_400_response.go b/services/observability/v1api/model_create_mysql_check_400_response.go index b56dc6cd9..b4300bb67 100644 --- a/services/observability/v1api/model_create_mysql_check_400_response.go +++ b/services/observability/v1api/model_create_mysql_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateMysqlCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateMysqlCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMysqlCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMysqlCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateMysqlCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateMysqlCheck400Response)") } } diff --git a/services/observability/v1api/model_create_network_check_400_response.go b/services/observability/v1api/model_create_network_check_400_response.go index 58a4af95e..1cb47f295 100644 --- a/services/observability/v1api/model_create_network_check_400_response.go +++ b/services/observability/v1api/model_create_network_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateNetworkCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateNetworkCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateNetworkCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateNetworkCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateNetworkCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateNetworkCheck400Response)") } } diff --git a/services/observability/v1api/model_create_ping_check_400_response.go b/services/observability/v1api/model_create_ping_check_400_response.go index ec803c809..f7c5fcfe6 100644 --- a/services/observability/v1api/model_create_ping_check_400_response.go +++ b/services/observability/v1api/model_create_ping_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreatePingCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreatePingCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePingCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePingCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePingCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreatePingCheck400Response)") } } diff --git a/services/observability/v1api/model_create_postgresql_check_400_response.go b/services/observability/v1api/model_create_postgresql_check_400_response.go index 38a33da32..bae2e2230 100644 --- a/services/observability/v1api/model_create_postgresql_check_400_response.go +++ b/services/observability/v1api/model_create_postgresql_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreatePostgresqlCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreatePostgresqlCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePostgresqlCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePostgresqlCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreatePostgresqlCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreatePostgresqlCheck400Response)") } } diff --git a/services/observability/v1api/model_create_rabbitmq_check_400_response.go b/services/observability/v1api/model_create_rabbitmq_check_400_response.go index c1d94eb2a..15a137cc0 100644 --- a/services/observability/v1api/model_create_rabbitmq_check_400_response.go +++ b/services/observability/v1api/model_create_rabbitmq_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateRabbitmqCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateRabbitmqCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRabbitmqCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRabbitmqCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRabbitmqCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateRabbitmqCheck400Response)") } } diff --git a/services/observability/v1api/model_create_redis_check_400_response.go b/services/observability/v1api/model_create_redis_check_400_response.go index 30104e427..68339831c 100644 --- a/services/observability/v1api/model_create_redis_check_400_response.go +++ b/services/observability/v1api/model_create_redis_check_400_response.go @@ -77,14 +77,9 @@ func (dst *CreateRedisCheck400Response) UnmarshalJSON(data []byte) error { } else { // no match if err != nil { return fmt.Errorf("data failed to match schemas in oneOf(CreateRedisCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRedisCheck400Response)") - } - if err != nil { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRedisCheck400Response): %v", err) - } else { - return fmt.Errorf("data failed to match schemas in oneOf(CreateRedisCheck400Response)") } + + return fmt.Errorf("data failed to match schemas in oneOf(CreateRedisCheck400Response)") } }