批注接口 EnableOpenApi
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@EnableConfigurationProperties(SwaggerProperties.class)
@Import(OpenAPIDefinitionImportSelector.class)
@PropertySource(value="classpath:openapi-config.yaml",
factory=YamlPropertySourceFactory.class)
public @interface EnableOpenApi
开启 spring doc
-
可选元素概要
可选元素
-
元素详细资料
-
value
String value网关路由前缀- 返回:
- String
- 默认值:
""
-