|
|
@ -24,7 +24,7 @@ import org.junit.runner.RunWith;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.boot.test.SpringApplicationConfiguration;
|
|
|
|
import org.springframework.boot.test.SpringApplicationConfiguration;
|
|
|
|
import org.springframework.http.MediaType;
|
|
|
|
import org.springframework.http.MediaType;
|
|
|
|
import org.springframework.restdocs.RestDocumentation;
|
|
|
|
import org.springframework.restdocs.JUnitRestDocumentation;
|
|
|
|
import org.springframework.test.annotation.DirtiesContext;
|
|
|
|
import org.springframework.test.annotation.DirtiesContext;
|
|
|
|
import org.springframework.test.context.TestPropertySource;
|
|
|
|
import org.springframework.test.context.TestPropertySource;
|
|
|
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
|
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
|
@ -46,7 +46,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|
|
|
public class HypermediaEndpointDocumentation {
|
|
|
|
public class HypermediaEndpointDocumentation {
|
|
|
|
|
|
|
|
|
|
|
|
@Rule
|
|
|
|
@Rule
|
|
|
|
public final RestDocumentation restDocumentation = new RestDocumentation(
|
|
|
|
public final JUnitRestDocumentation restDocumentation = new JUnitRestDocumentation(
|
|
|
|
"target/generated-snippets");
|
|
|
|
"target/generated-snippets");
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|