Skip to content

Commit 3e68988

Browse files
committed
Polish "Harmonize Kotlin example for HTTP Service client support"
See gh-48577
1 parent 423373b commit 3e68988

File tree

1 file changed

+14
-0
lines changed
  • documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package org.springframework.boot.docs.io.restclient.httpservice.groups
2+
3+
import org.springframework.boot.autoconfigure.SpringBootApplication
4+
import org.springframework.boot.runApplication
5+
import org.springframework.web.service.registry.ImportHttpServices
6+
7+
@SpringBootApplication
8+
@ImportHttpServices(group = "echo", basePackages = ["com.example.myclients"])
9+
class MyApplication
10+
11+
fun main(args: Array<String>) {
12+
runApplication<MyApplication>(*args)
13+
}
14+

0 commit comments

Comments
 (0)