Correct the annotation in the Kotlin @ConfigurationPropertiesSource example by hktechn0 · Pull Request #48357 · spring-projects/spring-boot

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@hktechn0

Copy link

Contributor

@hktechn0 hktechn0 commented

Dec 1, 2025

edited

Loading

…opertiesSource

I found an incorrect annotation in the Kotlin sample code within the documentation describing @ConfigurationPropertiesSource.
Current Kotlin sample code in the doc mistakenly uses @ConfigurationPropertiesScan. It should be corrected to use @ConfigurationPropertiesSource annotation.

For reference, the equivalent Java code appears to be correct.

…opertiesSource

Signed-off-by: Hirotaka Kawata <kawata.hirotaka@moneyforward.co.jp>

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage

An issue we've not yet triaged

label

Dec 1, 2025

@wilkinsona wilkinsona changed the title Change annotation from ConfigurationPropertiesScan to ConfigurationPr… Correct the annotation in the Kotlin @ConfigurationProperitesSource example

Dec 1, 2025

@wilkinsona wilkinsona added type: documentation

A documentation update

and removed status: waiting-for-triage

An issue we've not yet triaged

labels

Dec 1, 2025

@wilkinsona wilkinsona added this to the 4.0.x milestone

Dec 1, 2025

@wilkinsona wilkinsona changed the title Correct the annotation in the Kotlin @ConfigurationProperitesSource example Correct the annotation in the Kotlin @ConfigurationPropertiesSource example

Dec 1, 2025

@wilkinsona wilkinsona self-assigned this

Dec 1, 2025

@wilkinsona wilkinsona modified the milestones: 4.0.x, 4.0.1

Dec 1, 2025

wilkinsona pushed a commit that referenced this pull request

Dec 1, 2025
…opertiesSource

See gh-48357

Signed-off-by: Hirotaka Kawata <kawata.hirotaka@moneyforward.co.jp>

@wilkinsona wilkinsona closed this in 2e80fe6

Dec 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

@wilkinsona wilkinsona

Labels

type: documentation

A documentation update

Projects

None yet

Milestone

4.0.1

Development

Successfully merging this pull request may close these issues.

3 participants

@hktechn0 @wilkinsona @spring-projects-issues