mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-13 00:21:18 +00:00
13 lines
444 B
Plaintext
13 lines
444 B
Plaintext
package {{configPackage}};
|
|
|
|
import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
|
|
|
|
{{>generatedAnnotation}}
|
|
public class WebMvcConfiguration extends WebMvcConfigurationSupport {
|
|
@Override
|
|
public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
|
|
configurer.enable();
|
|
}
|
|
}
|