Closed LukLau closed 11 months ago
/**
* knife4j config
*
* @author
*/
@Configuration
public class Knife4jConfiguration {
/**
* 生成openAPI3 文档配置
*
* @return 接口文档定义
*/
@Bean
public OpenAPI dressupAvatarApi() {
return new OpenAPI()
.info(new Info().title("DressUp RealTimeAvatar")
.description("Api Description Document")
.version("v0.0.1")
.license(new License().name("Apache 2.0").url("http://www.apache.org/licenses/LICENSE-2.0.html")));
}
}
Describe the bug 接入knife4j时部署到指定环境,发现404问题
To Reproduce Steps to reproduce the behavior:
Expected behavior 能够正常访问
Screenshots
Knife4j Version (please complete the following information):