From 855a091a02ec9b6fc08a0d37d47880a9a40b570b Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Wed, 13 May 2026 17:05:23 +0200 Subject: [PATCH] feat(go): activate generator support for resolving inline-enums --- .github/workflows/ci.yaml | 2 +- scripts/generate-sdk/languages/go.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fcff289..d16065e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - + - name: Install project tools and dependencies shell: bash run: make project-tools diff --git a/scripts/generate-sdk/languages/go.sh b/scripts/generate-sdk/languages/go.sh index f840f1e..fc38206 100644 --- a/scripts/generate-sdk/languages/go.sh +++ b/scripts/generate-sdk/languages/go.sh @@ -171,7 +171,7 @@ generate_go_sdk() { --git-user-id "${GIT_USER_ID}" \ --git-repo-id "${GIT_REPO_ID}/services/${service}" \ --global-property apis,models,modelTests=true,modelDocs=false,apiDocs=false,supportingFiles,apiTests=false\ - --inline-schema-options "SKIP_SCHEMA_REUSE=true" \ + --inline-schema-options "SKIP_SCHEMA_REUSE=true,RESOLVE_INLINE_ENUMS=true" \ --http-user-agent "stackit-sdk-go/${service}" \ --reserved-words-mappings type=types \ --config "${ROOT_DIR}/languages/golang/openapi-generator-config.yml"