pull/6108/merge
Phillip Webb 9 years ago
parent 5ab072be9c
commit d87287fe72

@ -62,8 +62,9 @@ public class RestDocsAutoConfigurationAdvancedConfigurationIntegrationTests {
private RestDocumentationResultHandler document;
@Test
@Deprecated
public void snippetGeneration() throws Exception {
this.document.document(links(
this.document.snippets(links(
linkWithRel("self").description("Canonical location of this resource")));
this.mvc.perform(get("/"));
File defaultSnippetsDir = new File(

@ -39,7 +39,8 @@ import org.springframework.boot.web.servlet.ServletRegistrationBean;
* @see ServletContextInitializer
* @see ServletContext#addFilter(String, Filter)
* @see DelegatingFilterProxyRegistrationBean
* @deprecated as of 1.4 in favor of org.springframework.boot.web.FilterRegistrationBean
* @deprecated as of 1.4 in favor of
* org.springframework.boot.web.servlet.FilterRegistrationBean
*/
@Deprecated
public class FilterRegistrationBean

Loading…
Cancel
Save