diff --git a/framework-docs/src/main/kotlin/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.kt b/framework-docs/src/main/kotlin/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.kt index 86e4b5566b3..41b42517b9c 100644 --- a/framework-docs/src/main/kotlin/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.kt +++ b/framework-docs/src/main/kotlin/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.kt @@ -44,11 +44,12 @@ class CustomHttpServiceArgumentResolver { .builderFor(adapter) .customArgumentResolver(SearchQueryArgumentResolver()) .build() - val repositoryService = factory.createClient(RepositoryService::class.java) + val repositoryService = factory.createClient(RepositoryService::class.java) val search = Search(owner = "spring-projects", language = "java", query = "rest") val repositories = repositoryService.searchRepository(search) // end::usage[] + repositories.size } }