diff --git a/README.md b/README.md index 897f704..ad39e33 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The MongoDB API allows you to create additional database clusters or modify exis This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 1.0.0 -- Package version: 1.4.0 +- Package version: 1.4.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/client.go b/client.go index ca9ed50..49dafc3 100644 --- a/client.go +++ b/client.go @@ -50,7 +50,7 @@ const ( RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" - Version = "1.4.0" + Version = "1.4.1" ) // APIClient manages communication with the IONOS DBaaS MongoDB REST API API v1.0.0 diff --git a/configuration.go b/configuration.go index 5348f6c..b673c10 100644 --- a/configuration.go +++ b/configuration.go @@ -28,7 +28,7 @@ const ( IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://api.ionos.com/databases/mongodb" - DefaultIonosBasePath = "" + DefaultIonosBasePath = "/databases/mongodb" defaultMaxRetries = 3 defaultWaitTime = time.Duration(100) * time.Millisecond defaultMaxWaitTime = time.Duration(2000) * time.Millisecond @@ -134,7 +134,7 @@ func NewConfiguration(username, password, token, hostUrl string) *Configuration cfg := &Configuration{ DefaultHeader: make(map[string]string), DefaultQueryParams: url.Values{}, - UserAgent: "ionos-cloud-sdk-go-dbaas-mongo/v1.4.0", + UserAgent: "ionos-cloud-sdk-go-dbaas-mongo/v1.4.1", Debug: false, Username: username, Password: password,