Skip to content

Commit bc82077

Browse files
committed
Merge branch '6.2.x'
2 parents 63ee6e6 + 2576702 commit bc82077

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/integration/rest-clients.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ Start by creating the interface with `@HttpExchange` methods:
857857

858858
[source,java,indent=0,subs="verbatim,quotes"]
859859
----
860-
interface RepositoryService {
860+
public interface RepositoryService {
861861
862862
@GetExchange("/repos/{owner}/{repo}")
863863
Repository getRepository(@PathVariable String owner, @PathVariable String repo);
@@ -908,7 +908,7 @@ For `RestTemplate`:
908908
[source,java,indent=0,subs="verbatim,quotes"]
909909
----
910910
@HttpExchange(url = "/repos/{owner}/{repo}", accept = "application/vnd.github.v3+json")
911-
interface RepositoryService {
911+
public interface RepositoryService {
912912
913913
@GetExchange
914914
Repository getRepository(@PathVariable String owner, @PathVariable String repo);

framework-docs/src/main/java/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class CustomHttpServiceArgumentResolver {
3030

3131
// tag::httpinterface[]
32-
interface RepositoryService {
32+
public interface RepositoryService {
3333

3434
@GetExchange("/repos/search")
3535
List<Repository> searchRepository(Search search);

0 commit comments

Comments
 (0)