Skip to content

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

Merged
bnasslahsen merged 1 commit into
mainfrom
test/3332-kotlin-data-rest
Sep 6, 2026
Merged

test: cover Spring Data REST with Kotlin entities#3347
bnasslahsen merged 1 commit into
mainfrom
test/3332-kotlin-data-rest

Conversation

@bnasslahsen

Copy link
Copy Markdown
Collaborator

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 (#3312) 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 33d973e into main Sep 6, 2026
1 check passed
@bnasslahsen
bnasslahsen deleted the test/3332-kotlin-data-rest branch September 6, 2026 09:25
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.

Embedded properties missing from schema in 3.1.0 with JPA and spring-boot-data-rest

1 participant