Skip to content

Commit 855a091

Browse files
committed
feat(go): activate generator support for resolving inline-enums
1 parent 4f30616 commit 855a091

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/setup-go@v5
2929
with:
3030
go-version: ${{ matrix.go-version }}
31-
31+
3232
- name: Install project tools and dependencies
3333
shell: bash
3434
run: make project-tools

scripts/generate-sdk/languages/go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ generate_go_sdk() {
171171
--git-user-id "${GIT_USER_ID}" \
172172
--git-repo-id "${GIT_REPO_ID}/services/${service}" \
173173
--global-property apis,models,modelTests=true,modelDocs=false,apiDocs=false,supportingFiles,apiTests=false\
174-
--inline-schema-options "SKIP_SCHEMA_REUSE=true" \
174+
--inline-schema-options "SKIP_SCHEMA_REUSE=true,RESOLVE_INLINE_ENUMS=true" \
175175
--http-user-agent "stackit-sdk-go/${service}" \
176176
--reserved-words-mappings type=types \
177177
--config "${ROOT_DIR}/languages/golang/openapi-generator-config.yml"

0 commit comments

Comments
 (0)