Skip to content

test: cover Spring Data REST with Kotlin entities - #3350

Merged
bnasslahsen merged 1 commit into
spring-boot-3from
backport/3332-kotlin-data-rest
Sep 6, 2026
Merged

test: cover Spring Data REST with Kotlin entities#3350
bnasslahsen merged 1 commit into
spring-boot-3from
backport/3332-kotlin-data-rest

Conversation

@bnasslahsen

Copy link
Copy Markdown
Collaborator

Backport of #3347 to the Spring Boot 3 line.

An entity holding an @Embeddable lost that property, and its schema, because swagger-core keyed it under a null property name. The swagger-core 2.2.53 upgrade already fixes it; this pins the behaviour down, as no test module so far combined Kotlin with Spring Data REST.

Adds springdoc-openapi-tests/springdoc-openapi-kotlin-data-rest-tests. The new test fails on swagger-core 2.2.52 and passes on 2.2.53.

Fixes #3332

An entity holding an @embeddable lost that property, and its schema, because
swagger-core keyed it under a null property name. The swagger-core 2.2.53
upgrade already fixes it; this pins the behaviour down, as no test module so
far combined Kotlin with Spring Data REST.

Fixes #3332

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bnasslahsen
bnasslahsen merged commit 2a16087 into spring-boot-3 Sep 6, 2026
1 check passed
@bnasslahsen
bnasslahsen deleted the backport/3332-kotlin-data-rest branch September 6, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant