release: v1.0.0

This commit is contained in:
2023-03-26 21:10:30 +08:00
parent 8a843ad94c
commit 405d40e19d
15 changed files with 90 additions and 29 deletions

View File

@@ -49,10 +49,10 @@ public class SwaggerConfiguration {
*/
@Bean
public OpenAPI openApi() {
return new OpenAPI().info(
new Info().title(continewAdminProperties.getName() + " 接口文档").version(continewAdminProperties.getVersion())
.description(continewAdminProperties.getDescription()).termsOfService(continewAdminProperties.getUrl())
.contact(continewAdminProperties.getAuthor()).license(continewAdminProperties.getLicense()));
return new OpenAPI().info(new Info().title(continewAdminProperties.getName() + " 接口文档")
.version(String.format("v%s", continewAdminProperties.getVersion()))
.description(continewAdminProperties.getDescription()).termsOfService(continewAdminProperties.getUrl())
.contact(continewAdminProperties.getAuthor()).license(continewAdminProperties.getLicense()));
}
/**