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"