Browse Source

Clarify required input state to trigger Quartz job

Closes gh-49506
pull/49591/head
Andy Wilkinson 1 week ago
parent
commit
3e9632998e
  1. 2
      spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/quartz/QuartzEndpointDocumentationTests.java

2
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/quartz/QuartzEndpointDocumentationTests.java

@ -402,7 +402,7 @@ class QuartzEndpointDocumentationTests extends MockMvcEndpointDocumentationTests @@ -402,7 +402,7 @@ class QuartzEndpointDocumentationTests extends MockMvcEndpointDocumentationTests
.uri("/actuator/quartz/jobs/samples/jobOne"))
.hasStatusOk()
.apply(document("quartz/trigger-job", preprocessRequest(), preprocessResponse(prettyPrint()),
requestFields(fieldWithPath("state").description("The desired state of the job.")),
requestFields(fieldWithPath("state").description("Desired state of the job. Must be `running`.")),
responseFields(fieldWithPath("group").description("Name of the group."),
fieldWithPath("name").description("Name of the job."),
fieldWithPath("className").description("Fully qualified name of the job implementation."),

Loading…
Cancel
Save