Slim down quickstart samples
This commit is contained in:
@@ -50,8 +50,6 @@ configure or extend to create a custom solution.
|
|||||||
You can create a Config Server with a single annotation:
|
You can create a Config Server with a single annotation:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
@Configuration
|
|
||||||
@EnableAutoConfiguration
|
|
||||||
@EnableConfigServer
|
@EnableConfigServer
|
||||||
class ConfigServer {
|
class ConfigServer {
|
||||||
}
|
}
|
||||||
@@ -72,8 +70,6 @@ server. The Spring Boot CLI (with the Cloud extensions) will do this
|
|||||||
automatically for all applications.
|
automatically for all applications.
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
@Configuration
|
|
||||||
@EnableAutoConfiguration
|
|
||||||
@Controller
|
@Controller
|
||||||
class ConfigClient {
|
class ConfigClient {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user