Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
cf4bf86
feat!: regenerate the SDK from the enhanced generator
mridang Jun 14, 2026
bc93325
refactor: remove dead Version and StringUtil helpers
mridang Jun 15, 2026
d277ad1
chore: organize and sort keep-list
mridang Jun 15, 2026
d66ad18
refactor: use generated ZitadelException instead of hand-kept stub
mridang Jun 15, 2026
038f626
refactor: generate the Zitadel facade via clientClassName + withAuthe…
mridang Jun 15, 2026
b73d495
refactor: inline KeyUtil/URLUtil into auth classes and drop utils
mridang Jun 15, 2026
ed3f204
chore: keep-list and devbox cleanup
mridang Jun 15, 2026
0c0f4eb
chore: regenerate SKILLS.md with the Zitadel facade name
mridang Jun 15, 2026
d62d6f7
docs: restore customer-facing README and update code snippets for the…
mridang Jun 15, 2026
7ec2164
chore: slim proc.yml to options the generator honors
mridang Jun 15, 2026
d11eac9
test: use an ephemeral docker host port and discover the mapped port
mridang Jun 15, 2026
57de368
fix(docker): populate target/lib so jshell classpath resolves
mridang Jun 15, 2026
42c8564
fix(auth): redact secrets in authenticator toString for parity
mridang Jun 15, 2026
890d86a
feat(auth): mask secrets in generated authenticator string output
mridang Jun 15, 2026
6aa2c24
feat(auth): mask secrets and test redaction per authenticator
mridang Jun 15, 2026
4f15dd3
fix(sdk)!: regenerate with corrected acronym casing and array equality
mridang Sep 18, 2026
1ba1849
fix(sdk): declare the multipart test fixture locally
mridang Sep 18, 2026
3fd7ca6
chore: regenerate against the current generator
mridang Sep 19, 2026
dc1b193
chore: regenerate against the current generator
mridang Sep 20, 2026
cb9e548
docs: regenerate SKILLS.md with aligned wording
mridang Sep 20, 2026
f6a5bd9
chore: declare the Apache-2.0 licence to the generator
mridang Sep 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

[*.java]
indent_size = 4
indent_size = 4
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ '11', '17', '21' ]
java-version: [ '25' ]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: '17'
java-version: '25'
distribution: 'corretto'
cache: maven

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: '17'
java-version: '25'
distribution: 'corretto'
cache: maven

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: '17'
java-version: '25'
distribution: 'corretto'
cache: maven

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unused.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: '17'
java-version: '25'
distribution: 'corretto'
cache: maven

Expand Down
32 changes: 11 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
# Maven build output
/target/
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/
# IDE files
*.iml
.idea/

# Package Files #
*.jar
*.war
*.ear
# devbox local state
devbox.d/

# exclude jar for gradle wrapper
!gradle/wrapper/*.jar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# build files
**/target
target
.gradle
build
# Coverage output
.out/

# integration-test stack output (PAT, service-account key) — never commit
etc/zitadel_output/
.env

devbox.json
devbox.lock
.devbox
80 changes: 80 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Keep-list: files the generator must NOT overwrite, and the Makefile's
# `prune` step must NOT delete. Everything else is generator-owned.

# --- bespoke authenticators (ported onto the generated auth interfaces) ---
#
# NOTE: the old hand-written Authenticator.java (abstract base) is NOT kept;
# the generator now owns Authenticator (interface), BaseAuthenticator,
# BearerAuthenticator, HttpAwareAuthenticator and ZitadelAccessTokenAuthenticator.
src/main/java/com/zitadel/auth/ClientCredentialsAuthenticator.java
src/main/java/com/zitadel/auth/NoAuthAuthenticator.java
src/main/java/com/zitadel/auth/OAuthAuthenticator.java
src/main/java/com/zitadel/auth/OpenId.java
src/main/java/com/zitadel/auth/PersonalAccessTokenAuthenticator.java
src/main/java/com/zitadel/auth/WebTokenAuthenticator.java

# --- bespoke tests + fixtures the generator does not emit ---
#
# NOTE: the six spec-independent unit tests (ValueSerializerTest,
# HeaderSelectorTest, ConfigurationTest, TransportOptionsTest,
# TraceContextUtilTest, DefaultApiClientUnitTest) are now generator-owned
# and land under src/test/java/com/zitadel/...; they are NOT kept here.
# Only the bespoke test RESOURCES (wiremock mappings, certs, squid.conf,
# junit-platform.properties) are kept — the generator does not emit those.
#
# One redaction test per bespoke secret-bearing authenticator (mirroring the
# Python, PHP and Ruby SDKs): each verifies the secret/cached token is masked
# in toString(). The generator does not emit these for this spec, so they are
# kept here to survive the prune step.
etc/
src/spec/
src/test/resources/
src/test/java/com/zitadel/auth/ClientCredentialsAuthenticatorTest.java
src/test/java/com/zitadel/auth/PersonalAccessTokenAuthenticatorTest.java
src/test/java/com/zitadel/auth/OAuthAuthenticatorTest.java
src/test/java/com/zitadel/auth/WebTokenAuthenticatorTest.java

# --- repo identity + docs (team-owned, not generated) ---
LICENSE
README.md
SECURITY.md
VERSIONING.md

# --- house tooling (team-owned, not generated) ---
.commitlintrc.json
.dockerignore
.editorconfig
.github/
.gitignore
.mvn/
.pre-commit-config.yaml
.releaserc.json
*.iml
devbox.json
devbox.lock
Dockerfile
lefthook.yml
qodana.yaml
settings.xml

# --- build / package config (team-owned: carries repo identity + bespoke
# deps) ---
#
# pom.xml carries the repo identity, the Maven Central release/deployment
# profile, and the bespoke-auth deps (nimbus-jose-jwt, bouncycastle
# bcprov/bcpkix) that the kept authenticators need and the generator does
# not emit. Its toolchain is aligned to the generator's output: checkstyle
# google_checks.xml + default spotbugs, no custom checkstyle.xml /
# spotbugs.xml (the generator emits class-level @SuppressWarnings /
# @SuppressFBWarnings instead).
pom.xml

# --- generation tooling we added ---
.openapi-generator-ignore
Makefile
proc.yml

# --- generator bookkeeping (FILES manifest + VERSION; rewritten by the
# generator but keep-listed so prune does not orphan them — the FILES
# manifest does not list itself, so it would otherwise be deleted) ---
.openapi-generator/
Loading
Loading