Skip to content

Commit b6ae81f

Browse files
authored
chore: regenerate Java SDK from latest OpenAPI spec (#39)
* chore: regenerate Java SDK from latest Rootly OpenAPI spec Regenerated using openapi-generator v7.13.0 against the latest Rootly swagger.json. Strips Object.validateJsonElement calls from generated sources. * ci: pin GitHub Actions to full-length commit SHAs Pin actions/checkout and actions/setup-java to commit SHAs to comply with rootlyhq org policy requiring pinned actions. * fix: upgrade jackson-databind-nullable 0.2.6 → 0.2.10 0.2.6 transitively pulls jackson-core:2.14.0-rc2 which is no longer available on Maven Central, breaking CI builds. * fix: strip UUID.validateJsonElement calls from generated sources Post-generation sed only removed Object.validateJsonElement but UUID.validateJsonElement also has no such method, causing compile errors in GetTeamIdParameter and GetAlertFieldIdParameter. * chore: update Makefile sed to also strip UUID.validateJsonElement * fix: regenerate test stubs to match current API signatures Old test stubs had stale method signatures (String vs GetAlertFieldIdParameter, missing params, etc). Deleted and regenerated all test files. Re-applied SHA-pinned actions, jackson-databind-nullable 0.2.10, and validateJsonElement stripping. * chore: delete stale test stubs before regeneration in Makefile
1 parent 91da76a commit b6ae81f

3,632 files changed

Lines changed: 229891 additions & 44762 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
matrix:
2020
java: [ 17, 21 ]
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2323
- name: Set up JDK
24-
uses: actions/setup-java@v4
24+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
2525
with:
2626
java-version: ${{ matrix.java }}
2727
distribution: 'temurin'

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
test-and-publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1313
- name: Set up JDK
14-
uses: actions/setup-java@v4
14+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
1515
with:
1616
java-version: '17'
1717
distribution: 'temurin'

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1313
- name: Set up JDK
14-
uses: actions/setup-java@v4
14+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
1515
with:
1616
java-version: '17'
1717
distribution: 'temurin'

0 commit comments

Comments
 (0)