Where in the documentation I could present a example of using it with WebTestClient + Spring-Boot.
e.g.
@WebFluxTest
@AutoConfigureRestDocs
class ControllerTests {
private WebTestClient webClient;
@BeforeEach
void setUp(
@Autowired ApplicationContext context,
@Autowired WebTestClientRestDocumentationConfigurer configurer) {
webClient = WebTestClient
.bindToApplicationContext(context)
.configureClient()
.filter(configurer)
.entityExchangeResultConsumer(document("{class-name}/{method-name}"))
.build();
}
}