Skip to content

Missing starter for spring-boot-restdocs #48289

@jnizet

Description

@jnizet

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?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions