Skip to content

Commit

Permalink
Auto bump major go packages
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoenke committed Apr 22, 2024
1 parent 2010960 commit a8a313e
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion clients/go/test/api_uploads_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/ruby/spec/api/locales_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clients/ruby/spec/api/uploads_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 7 additions & 7 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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 <code>true</code>.",
"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 <code>true</code>.",
"example": null,
"name": "fallback_locale_id",
"in": "query",
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/templates/go/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/templates/go/go.mod.mustache
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion paths/locales/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion paths/locales/download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>true</code>.
- 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 <code>true</code>.
example:
name: fallback_locale_id
in: query
Expand Down
2 changes: 1 addition & 1 deletion paths/locales/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions paths/orders/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion paths/translations/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion paths/uploads/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a8a313e

Please sign in to comment.