package com.github.therapi.jsonrpc.web;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Configures Spring to serve the static resources required by the API documentation web page.
 * Only necessary if the API documentation page renders incorrectly without it.
 * <p>
 * Normally the static resources are automatically served by the servlet container,
 * but Spring's default Web MVC configuration may prevent that from happening.
 * <p>
 * To activate, add a bean of this class to your application context.
 */
public class ApidocWebMvcConfigurer extends WebMvcConfigurerAdapter {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/therapi/**")
                .addResourceLocations("classpath:/META-INF/resources/therapi/");
    }
}

@@ -189,23 +189,16 @@
 nfigurer
-Adapter
 ;%0A%0A/**%0A 
@@ -662,14 +662,17 @@
 rer 
-extend
+implement
 s We
@@ -689,15 +689,8 @@
 urer
-Adapter
  %7B%0A 

fix deprecation warning