I can't find any starter listed in the migration guide, or in the reference guide, for spring-restdocs.
Using start.spring.io and selecting "Web" and "RestDocs" adds the following starters to the project dependencies:
implementation("org.springframework.boot:spring-boot-starter-webmvc")
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
testImplementation("org.springframework.restdocs:spring-restdocs-mockmvc")
but the org.springframework.boot.restdocs.test.autoconfigure.AutoConfigureRestDocs annotation can't be found with these dependencies (even though it is documented and exists: https://docs.spring.io/spring-boot/api/java/org/springframework/boot/restdocs/test/autoconfigure/AutoConfigureRestDocs.html)
Am I missing something?
I can't find any starter listed in the migration guide, or in the reference guide, for spring-restdocs.
Using start.spring.io and selecting "Web" and "RestDocs" adds the following starters to the project dependencies:
but the
org.springframework.boot.restdocs.test.autoconfigure.AutoConfigureRestDocsannotation can't be found with these dependencies (even though it is documented and exists: https://docs.spring.io/spring-boot/api/java/org/springframework/boot/restdocs/test/autoconfigure/AutoConfigureRestDocs.html)Am I missing something?