feat: Swagger API version keep up-to-date with POM version #139

This commit is contained in:
tjq 2021-01-02 20:10:04 +08:00
parent 85b8d004e4
commit dfd2106a3f

View File

@ -32,7 +32,7 @@ public class SwaggerConfig {
@Bean
public Docket createRestApi() {
String version = "Unknown";
String version = "unknown";
if (buildProperties != null) {
String pomVersion = buildProperties.getVersion();
if (StringUtils.isNotBlank(pomVersion)) {