@Bean
        public DocServiceConfigurator helloGrpcServiceExamples() {
            return dsb -> dsb.exampleRequests(TestServiceGrpc.SERVICE_NAME, "Hello",
                                              HelloRequest.newBuilder().setName("Armeria").build())
                             .exampleHeaders(TestServiceGrpc.SERVICE_NAME,
                                             HttpHeaders.of("x-additional-header", "headerVal"))
                             .exampleHeaders(TestServiceGrpc.SERVICE_NAME, "Hello",
                                             HttpHeaders.of("x-additional-header", "headerVal"));
        }
This uses {@link ArmeriaAutoConfiguration} for integration tests.
application-autoConfTest.yml will be loaded with minimal settings to make it work.
spring/boot3-autoconfigure/src/test/java/com/linecorp/armeria/spring/ArmeriaAutoConfigurationTest.java