From a8a313ec20aa1ba75b032955489fbf3944ceb580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Behrendt?= Date: Mon, 22 Apr 2024 15:34:04 +0200 Subject: [PATCH] Auto bump major go packages --- clients/go/test/api_uploads_test.go | 2 +- clients/ruby/spec/api/locales_api_spec.rb | 2 +- clients/ruby/spec/api/uploads_api_spec.rb | 2 +- doc/compiled.json | 14 +++++++------- openapi-generator/templates/go/README.mustache | 2 +- openapi-generator/templates/go/go.mod.mustache | 2 +- paths/locales/create.yaml | 2 +- paths/locales/download.yaml | 2 +- paths/locales/update.yaml | 2 +- paths/orders/create.yaml | 4 ++-- paths/translations/create.yaml | 2 +- paths/uploads/create.yaml | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/clients/go/test/api_uploads_test.go b/clients/go/test/api_uploads_test.go index 203790e8..8b59bf60 100644 --- a/clients/go/test/api_uploads_test.go +++ b/clients/go/test/api_uploads_test.go @@ -17,7 +17,7 @@ import ( "testing" "github.com/antihax/optional" - "github.com/phrase/phrase-go/v3" + "github.com/phrase/phrase-go/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/clients/ruby/spec/api/locales_api_spec.rb b/clients/ruby/spec/api/locales_api_spec.rb index 83924908..4015cf53 100644 --- a/clients/ruby/spec/api/locales_api_spec.rb +++ b/clients/ruby/spec/api/locales_api_spec.rb @@ -87,7 +87,7 @@ # @option opts [Boolean] :skip_unverified_translations Indicates whether the locale file should skip all unverified translations. This parameter is deprecated and should be replaced with <code>include_unverified_translations</code>. # @option opts [Boolean] :include_unverified_translations if set to false unverified translations are excluded # @option opts [Boolean] :use_last_reviewed_version If set to true the last reviewed version of a translation is used. This is only available if the review workflow is enabled for the project. - # @option opts [String] :fallback_locale_id If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to <code>true</code>. + # @option opts [String] :fallback_locale_id If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to <code>true</code>. # @option opts [String] :source_locale_id Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a <code>tag</code> parameter indicating a specific job. # @return [File] describe 'locale_download test' do diff --git a/clients/ruby/spec/api/uploads_api_spec.rb b/clients/ruby/spec/api/uploads_api_spec.rb index 4940ef78..452ef931 100644 --- a/clients/ruby/spec/api/uploads_api_spec.rb +++ b/clients/ruby/spec/api/uploads_api_spec.rb @@ -29,7 +29,7 @@ # @option opts [String] :branch specify the branch to use # @option opts [File] :file File to be imported # @option opts [String] :file_format File format. Auto-detected when possible and not specified. - # @option opts [String] :locale_id Locale of the file's content. Can be the name or public id of the locale. Preferred is the public id. + # @option opts [String] :locale_id Locale of the file's content. Can be the name or id of the locale. Preferred is id. # @option opts [String] :tags List of tags separated by comma to be associated with the new keys contained in the upload. # @option opts [Boolean] :update_translations Indicates whether existing translations should be updated with the file content. # @option opts [Boolean] :update_descriptions Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions. diff --git a/doc/compiled.json b/doc/compiled.json index f1b07090..da69ebfe 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -8143,7 +8143,7 @@ "example": null }, "source_locale_id": { - "description": "Source locale. Can be the name or public id of the locale. Preferred is the public id.", + "description": "Source locale. Can be the name or id of the locale. Preferred is id.", "type": "string", "example": "abcd1234abcd1234abcd1234abcd1234" }, @@ -8346,7 +8346,7 @@ "example": null }, "source_locale_id": { - "description": "Source locale. Can be the name or public id of the locale. Preferred is the public id.", + "description": "Source locale. Can be the name or id of the locale. Preferred is id.", "type": "string", "example": "abcd1234abcd1234abcd1234abcd1234" }, @@ -8588,7 +8588,7 @@ } }, { - "description": "If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true.", + "description": "If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true.", "example": null, "name": "fallback_locale_id", "in": "query", @@ -14122,7 +14122,7 @@ "example": "json" }, "locale_id": { - "description": "Locale of the file's content. Can be the name or public id of the locale. Preferred is the public id.", + "description": "Locale of the file's content. Can be the name or id of the locale. Preferred is id.", "type": "string", "example": "abcd1234cdef1234abcd1234cdef1234" }, @@ -21475,12 +21475,12 @@ "example": "textmaster" }, "source_locale_id": { - "description": "Source locale for the order. Can be the name or public id of the source locale. Preferred is the public id.", + "description": "Source locale for the order. Can be the name or id of the source locale. Preferred is id.", "type": "string", "example": "abcd1234abcd1234abcd1234abcd1234" }, "target_locale_ids": { - "description": "List of target locales you want the source content translate to. Can be the name or public id of the target locales. Preferred is the public id.", + "description": "List of target locales you want the source content translate to. Can be the name or id of the target locales. Preferred is id.", "type": "array", "items": { "type": "string" @@ -23869,7 +23869,7 @@ "example": "my-feature-branch" }, "locale_id": { - "description": "Locale. Can be the name or id of the locale. Preferred is the id", + "description": "Locale. Can be the name or id of the locale. Preferred is id", "type": "string", "example": "abcd1234cdef1234abcd1234cdef1234" }, diff --git a/openapi-generator/templates/go/README.mustache b/openapi-generator/templates/go/README.mustache index de0f2bc9..2686c655 100644 --- a/openapi-generator/templates/go/README.mustache +++ b/openapi-generator/templates/go/README.mustache @@ -17,7 +17,7 @@ import ( "context" "fmt" - phrase "github.com/phrase/phrase-go/v3" + phrase "github.com/phrase/phrase-go/v2" // x-release-please-major ) func main() { diff --git a/openapi-generator/templates/go/go.mod.mustache b/openapi-generator/templates/go/go.mod.mustache index d05459f2..76672f16 100644 --- a/openapi-generator/templates/go/go.mod.mustache +++ b/openapi-generator/templates/go/go.mod.mustache @@ -1,4 +1,4 @@ -module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}/v3 +module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}/v2 // x-release-please-major go 1.14 diff --git a/paths/locales/create.yaml b/paths/locales/create.yaml index 3525b50d..a815cc18 100644 --- a/paths/locales/create.yaml +++ b/paths/locales/create.yaml @@ -77,7 +77,7 @@ requestBody: type: boolean example: source_locale_id: - description: Source locale. Can be the name or public id of the locale. Preferred is the public id. + description: Source locale. Can be the name or id of the locale. Preferred is id. type: string example: abcd1234abcd1234abcd1234abcd1234 fallback_locale_id: diff --git a/paths/locales/download.yaml b/paths/locales/download.yaml index 8d75f417..0f309a8e 100644 --- a/paths/locales/download.yaml +++ b/paths/locales/download.yaml @@ -100,7 +100,7 @@ parameters: in: query schema: type: boolean - - description: If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true. + - description: If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true. example: name: fallback_locale_id in: query diff --git a/paths/locales/update.yaml b/paths/locales/update.yaml index ed1b34d1..a9761914 100644 --- a/paths/locales/update.yaml +++ b/paths/locales/update.yaml @@ -76,7 +76,7 @@ requestBody: type: boolean example: source_locale_id: - description: Source locale. Can be the name or public id of the locale. Preferred is the public id. + description: Source locale. Can be the name or id of the locale. Preferred is id. type: string example: abcd1234abcd1234abcd1234abcd1234 fallback_locale_id: diff --git a/paths/orders/create.yaml b/paths/orders/create.yaml index 9b118bc1..2af31344 100644 --- a/paths/orders/create.yaml +++ b/paths/orders/create.yaml @@ -65,11 +65,11 @@ requestBody: type: string example: textmaster source_locale_id: - description: Source locale for the order. Can be the name or public id of the source locale. Preferred is the public id. + description: Source locale for the order. Can be the name or id of the source locale. Preferred is id. type: string example: abcd1234abcd1234abcd1234abcd1234 target_locale_ids: - description: List of target locales you want the source content translate to. Can be the name or public id of the target locales. Preferred is the public id. + description: List of target locales you want the source content translate to. Can be the name or id of the target locales. Preferred is id. type: array items: type: string diff --git a/paths/translations/create.yaml b/paths/translations/create.yaml index 50bdc3ee..008f7c53 100644 --- a/paths/translations/create.yaml +++ b/paths/translations/create.yaml @@ -54,7 +54,7 @@ requestBody: type: string example: my-feature-branch locale_id: - description: Locale. Can be the name or id of the locale. Preferred is the id + description: Locale. Can be the name or id of the locale. Preferred is id type: string example: abcd1234cdef1234abcd1234cdef1234 key_id: diff --git a/paths/uploads/create.yaml b/paths/uploads/create.yaml index 057a5cf8..5d71c566 100644 --- a/paths/uploads/create.yaml +++ b/paths/uploads/create.yaml @@ -78,7 +78,7 @@ requestBody: type: string example: json locale_id: - description: Locale of the file's content. Can be the name or public id of the locale. Preferred is the public id. + description: Locale of the file's content. Can be the name or id of the locale. Preferred is id. type: string example: abcd1234cdef1234abcd1234cdef1234 tags: