mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: Swagger API version keep up-to-date with POM version #139
This commit is contained in:
parent
85b8d004e4
commit
dfd2106a3f
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user