Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 2d48e93

Browse files
committed
Fix broken snippets doc generation
The recent addition of `AppRegistrationResouce.bootVersion` broke auto-generated snippets in spring-cloud-dataflow-classic-docs module.
1 parent 95114a3 commit 2d48e93

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-cloud-dataflow-classic-docs/src/test/java/org/springframework/cloud/dataflow/server/rest/documentation/AppRegistryDocumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void getSingleApplication() throws Exception {
174174
fieldWithPath("version").description("The version of the application"),
175175
fieldWithPath("versions").description("All the registered versions of the application"),
176176
fieldWithPath("defaultVersion").description("If true, the application is the default version"),
177+
fieldWithPath("bootVersion").description("The version of Spring Boot the application targets (2, 3)"),
177178
subsectionWithPath("options").description("The options of the application (Array)"),
178179
fieldWithPath("shortDescription").description("The description of the application"),
179180
fieldWithPath("inboundPortNames").description("Inbound port names of the application"),

spring-cloud-dataflow-classic-docs/src/test/java/org/springframework/cloud/dataflow/server/rest/documentation/StreamDefinitionsDocumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public void getStreamApplications() throws Exception {
160160
fieldWithPath("[].uri").description("The uri of the application"),
161161
fieldWithPath("[].version").description("The version of the application"),
162162
fieldWithPath("[].defaultVersion").description("If true, the application is the default version"),
163+
fieldWithPath("[].bootVersion").description("The version of Spring Boot the application targets (2, 3)"),
163164
fieldWithPath("[].versions").description("All the registered versions of the application"),
164165
fieldWithPath("[]._links.self.href").description("Link to the application resource")
165166
)));

0 commit comments

Comments
 (0)