批注接口 AutoConfigureWebMvc
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@AutoConfigureJson
@ImportAutoConfiguration
public @interface AutoConfigureWebMvc
Auto-configuration imports
for typical Spring MVC
tests. Most tests should consider using @WebMvcTest
rather than
using this annotation directly.- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb, Andy Wilkinson
- 另请参阅: