-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
feat(kotlin-spring): add Spring Boot 4 and Jackson 3 support #23154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wing328
merged 21 commits into
OpenAPITools:master
from
yonatankarp:feat/kotlin-spring-boot4-jackson3
Mar 10, 2026
+3,382
−17
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
68bcbf6
feat(kotlin): add Jackson 3 infrastructure to AbstractKotlinCodegen
yonatankarp 6334951
feat(kotlin-spring): add useSpringBoot4 and useJackson3 flags
yonatankarp d5fefdb
feat(kotlin-spring): update template selection for Spring Boot 4
yonatankarp dfe0ac8
feat(kotlin-spring): add SB4 templates for all libraries
yonatankarp 226b373
test(kotlin-spring): add tests for Spring Boot 4 and Jackson 3 support
yonatankarp 6be5fa8
feat(kotlin-spring): add kotlin-springboot-4 sample with Jackson 3
yonatankarp 57c7606
docs(kotlin-spring): document useSpringBoot4 and useJackson3 options
yonatankarp 7531117
fix(kotlin-spring): update Gradle templates to Kotlin 2.2 JvmTarget D…
yonatankarp 8ce9c2d
fix(kotlin-spring): register useJackson3 CLI option and use Gradle 8.…
yonatankarp 91bfd08
fix(kotlin-client): fix Jackson 3 package imports and add ktor/spring…
yonatankarp 2df1c7c
Revert "fix(kotlin-client): fix Jackson 3 package imports and add kto…
yonatankarp 028f360
ci: retrigger CI checks
yonatankarp 43e3fae
fix(kotlin-spring): replace legacy oauth2 starter and add Jackson exc…
yonatankarp 319c257
feat(kotlin-spring): default to Jackson 3 when Spring Boot 4 is enabled
yonatankarp 3824e66
fix(kotlin-spring): declare springdoc version property regardless of …
yonatankarp deb74fb
fix(kotlin-spring): use modern OAuth2 client config for Spring Boot 4…
yonatankarp 6fcc1dd
fix(kotlin-spring): default Jackson 3 when Spring Boot 4 set via sett…
yonatankarp 1f22213
fix(kotlin-spring): add trailing newline to clientConfiguration template
yonatankarp ab94d75
Trigger CI
yonatankarp f44c9a1
clean up conditions
yonatankarp 8dd6ea8
fix(kotlin-spring): remove SB4+Jackson2 test since SB4 unconditionall…
yonatankarp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| generatorName: kotlin-spring | ||
| outputDir: samples/server/petstore/kotlin-springboot-4 | ||
| library: spring-boot | ||
| inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
| templateDir: modules/openapi-generator/src/main/resources/kotlin-spring | ||
| additionalProperties: | ||
| documentationProvider: none | ||
| annotationLibrary: none | ||
| useSwaggerUI: "false" | ||
| serviceImplementation: "true" | ||
| serializableModel: "true" | ||
| beanValidations: "true" | ||
| useSpringBoot4: "true" | ||
| useJackson3: "true" | ||
| requestMappingMode: api_interface | ||
| gradleBuildFile: "true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.