Skip to content

Correct list of annotations that are equivalent to @SpringBootApplication#35180

Closed
aasaru wants to merge 1 commit intospring-projects:mainfrom
aasaru:patch-1
Closed

Correct list of annotations that are equivalent to @SpringBootApplication#35180
aasaru wants to merge 1 commit intospring-projects:mainfrom
aasaru:patch-1

Conversation

@aasaru
Copy link
Copy Markdown
Contributor

@aasaru aasaru commented Apr 27, 2023

In a working app I tested replacing @SpringBootApplication with

@Configuration
@EnableAutoConfiguration
@ComponentScan

and the Spring tests didn't work any more, I had to use @SpringBootConfiguration instead of @Configuration.
So I thought I fix the documentation.

@pivotal-cla
Copy link
Copy Markdown

@aasaru Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link
Copy Markdown

@aasaru Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 27, 2023
@wilkinsona wilkinsona changed the title Fix comment documenting the annotation Correct list of annotations that are equivalent to @SpringBootApplication Apr 27, 2023
@wilkinsona wilkinsona added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 27, 2023
@wilkinsona wilkinsona added this to the 2.7.x milestone Apr 27, 2023
@wilkinsona
Copy link
Copy Markdown
Member

@aasaru Thanks very much for making your first contribution to Spring Boot

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

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants