Example usage for org.springframework.restdocs.config RestDocumentationConfigurer RestDocumentationConfigurer

List of usage examples for org.springframework.restdocs.config RestDocumentationConfigurer RestDocumentationConfigurer

Introduction

In this page you can find the example usage for org.springframework.restdocs.config RestDocumentationConfigurer RestDocumentationConfigurer.

Prototype

RestDocumentationConfigurer

Source Link

Usage

From source file:example.springdata.rest.headers.CrossOriginIntegrationTests.java

@Before
public void setUp() {

    this.mvc = MockMvcBuilders.webAppContextSetup(context).//
            apply(new RestDocumentationConfigurer()).//
            build();//w  w w.  ja  v  a2s.c  om
}

From source file:myfeed.user.ApiDocumentation.java

@Before
public void setUp() {
    this.mockMvc = MockMvcBuilders.webAppContextSetup(this.context).apply(new RestDocumentationConfigurer())
            .build();/*from  w  w w . j av  a  2 s .co  m*/
}

From source file:fi.hsl.parkandride.docs.ApiDocumentation.java

@Before
public void init() {
    devHelper.deleteAll();/*from w  w w  .  ja  v  a2  s. c om*/
    mockMvc = MockMvcBuilders.webAppContextSetup(context).apply(new RestDocumentationConfigurer()).build();
    facilityId = dummies.createFacility();
    authToken = loginApiUserForFacility(facilityId);
}