[fix] change Licence in swaggerUI

This commit is contained in:
tjq 2020-06-04 12:11:31 +08:00
parent 69f4699ec5
commit a577a7e5a8

View File

@ -26,9 +26,9 @@ public class SwaggerConfig {
ApiInfo apiInfo = new ApiInfoBuilder() ApiInfo apiInfo = new ApiInfoBuilder()
.title("OhMyScheduler") .title("OhMyScheduler")
.description("Distributed scheduling and computing framework.") .description("Distributed scheduling and computing framework.")
.license("GPL") .license("Apache Licence 2")
.termsOfServiceUrl("https://github.com/KFCFans/OhMyScheduler") .termsOfServiceUrl("https://github.com/KFCFans/OhMyScheduler")
.version("DEVELOP-VERSION") .version("2.0.0")
.build(); .build();
return new Docket(DocumentationType.SWAGGER_2) return new Docket(DocumentationType.SWAGGER_2)