|
|
@ -40,8 +40,8 @@ public class SwaggerConfiguration {
|
|
|
|
public OpenAPI customOpenAPI() {
|
|
|
|
public OpenAPI customOpenAPI() {
|
|
|
|
return new OpenAPI()
|
|
|
|
return new OpenAPI()
|
|
|
|
.info(new Info()
|
|
|
|
.info(new Info()
|
|
|
|
.title("XXX用户系统API")
|
|
|
|
.title("虚拟病人系统API")
|
|
|
|
.version("1.0")
|
|
|
|
.version("1.3")
|
|
|
|
.description("Knife4j集成springdoc-openapi示例")
|
|
|
|
.description("Knife4j集成springdoc-openapi示例")
|
|
|
|
.termsOfService("http://doc.xiaominfo.com")
|
|
|
|
.termsOfService("http://doc.xiaominfo.com")
|
|
|
|
.license(new License().name("Apache 2.0")
|
|
|
|
.license(new License().name("Apache 2.0")
|
|
|
|