diff --git a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc index d81436315a1a..21a9552395d7 100644 --- a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc +++ b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc @@ -1201,12 +1201,12 @@ annotate HTTP interfaces as follows: [source,java,indent=0,subs="verbatim,quotes"] ---- @HttpServiceClient("echo") - public class EchoServiceA { + public interface EchoServiceA { // ... } @HttpServiceClient("echo") - public class EchoServiceB { + public interface EchoServiceB { // ... } ----