Skip to content

Commit 6b3e1bb

Browse files
committed
chore: bump go sdk generator to v7.22.0
relates to STACKITSDK-427
1 parent 23d941f commit 6b3e1bb

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

languages/golang/openapi-generator-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ additionalProperties:
55
enumClassPrefix: true
66
generateInterfaces: true
77
disallowAdditionalPropertiesIfNotPresent: false
8+
enumUnknownDefaultCase: true
89
templateDir: languages/golang/templates
910
files:
1011
custom/api_mock.mustache:

languages/golang/templates/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{! This template was customized to use the GenericOpenAPIError from the core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.20.0/modules/openapi-generator/src/main/resources/go/api.mustache for the original template }}
1+
{{! This template was customized to use the GenericOpenAPIError from the core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.22.0/modules/openapi-generator/src/main/resources/go/api.mustache for the original template }}
22
{{>partial_header}}
33
package {{packageName}}
44

languages/golang/templates/client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{! This template was customized to support the custom configuration options from the core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.20.0/modules/openapi-generator/src/main/resources/go/client.mustache for the original template }}
1+
{{! This template was customized to support the custom configuration options from the core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.22.0/modules/openapi-generator/src/main/resources/go/client.mustache for the original template }}
22
{{>partial_header}}
33
package {{packageName}}
44

languages/golang/templates/configuration.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{! This template was ENTIRELY overwritten to support the custom configuration type and options from the STACKIT SDK core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.20.0/modules/openapi-generator/src/main/resources/go/configuration.mustache for the original template }}
1+
{{! This template was ENTIRELY overwritten to support the custom configuration type and options from the STACKIT SDK core module. See https://github.com/OpenAPITools/openapi-generator/blob/v7.22.0/modules/openapi-generator/src/main/resources/go/configuration.mustache for the original template }}
22
{{>partial_header}}
33
package {{packageName}}
44

scripts/generate-sdk/generate-sdk.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ fi
5555
case "${LANGUAGE}" in
5656
go)
5757
# When the GENERATOR_VERSION changes, migrate also the templates in templates/go
58-
GENERATOR_VERSION="v7.20.0"
58+
# Renovate: datasource=github-tags depName=OpenAPITools/openapi-generator versioning=semver
59+
GENERATOR_VERSION="v7.22.0"
5960
;;
6061
python)
6162
# When the GENERATOR_VERSION changes, migrate also the templates in templates/python

0 commit comments

Comments
 (0)