|
|
|
@ -31,6 +31,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
|
import org.springframework.context.annotation.Import;
|
|
|
|
|
import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation;
|
|
|
|
|
import org.springframework.restdocs.payload.FieldDescriptor;
|
|
|
|
|
import org.springframework.restdocs.payload.JsonFieldType;
|
|
|
|
|
|
|
|
|
|
import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath;
|
|
|
|
|
import static org.springframework.restdocs.payload.PayloadDocumentation.responseFields;
|
|
|
|
@ -80,9 +81,11 @@ public class LiquibaseEndpointDocumentationTests
|
|
|
|
|
fieldWithPath("labels")
|
|
|
|
|
.description("Labels associated with the change set."),
|
|
|
|
|
fieldWithPath("checksum").description("Checksum of the change set."),
|
|
|
|
|
fieldWithPath("orderExecuted")
|
|
|
|
|
.description("Order of the execution of the change set."),
|
|
|
|
|
fieldWithPath("tag").description("Tag associated with the change set."));
|
|
|
|
|
fieldWithPath("orderExecuted").description(
|
|
|
|
|
"Order of the execution of the change set."),
|
|
|
|
|
fieldWithPath("tag")
|
|
|
|
|
.description("Tag associated with the change set, if any.")
|
|
|
|
|
.optional().type(JsonFieldType.STRING));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Configuration
|
|
|
|
|