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

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

@ -39,7 +39,8 @@ import org.springframework.boot.web.servlet.ServletRegistrationBean;
* @see ServletContextInitializer * @see ServletContextInitializer
* @see ServletContext#addFilter(String, Filter) * @see ServletContext#addFilter(String, Filter)
* @see DelegatingFilterProxyRegistrationBean * @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 @Deprecated
public class FilterRegistrationBean public class FilterRegistrationBean

Loading…
Cancel
Save